Home
last modified time | relevance | path

Searched refs:FullExpr (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp50 bool ConversionFixItGenerator::tryToFixConversion(const Expr *FullExpr, in tryToFixConversion() argument
54 if (!FullExpr) in tryToFixConversion()
59 const SourceLocation Begin = FullExpr->getSourceRange().getBegin(); in tryToFixConversion()
60 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
65 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
85 isa<ParenExpr>(FullExpr) || in tryToFixConversion()
H A DSemaExprCXX.cpp8837 ExprResult FullExpr = FE; in ActOnFinishFullExpr() local
8839 if (!FullExpr.get()) in ActOnFinishFullExpr()
8849 FullExpr = forceUnknownAnyToType(FullExpr.get(), Context.getObjCIdType()); in ActOnFinishFullExpr()
8850 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8854 FullExpr = CheckPlaceholderExpr(FullExpr.get()); in ActOnFinishFullExpr()
8855 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8858 FullExpr = IgnoredValueConversions(FullExpr.get()); in ActOnFinishFullExpr()
8859 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8865 FullExpr = CorrectDelayedTyposInExpr(FullExpr.get(), /*InitDecl=*/nullptr, in ActOnFinishFullExpr()
8867 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
[all …]
H A DSemaStmt.cpp268 if (const FullExpr *Temps = dyn_cast<FullExpr>(E)) in DiagnoseUnusedExprResult()
1025 if (const auto *FE = dyn_cast<FullExpr>(E)) in GetTypeBeforeIntegralPromotion()
2210 ExprResult FullExpr = ActOnFinishFullExpr(E, /*DiscardedValue*/ false); in ActOnForEachLValueExpr() local
2211 if (FullExpr.isInvalid()) in ActOnForEachLValueExpr()
2213 return StmtResult(static_cast<Stmt*>(FullExpr.get())); in ActOnForEachLValueExpr()
H A DSemaInit.cpp7629 if (auto *FE = dyn_cast<FullExpr>(Init)) in visitLocalsRetainedByReferenceBinding()
7763 if (auto *FE = dyn_cast<FullExpr>(Init)) in visitLocalsRetainedByInitializer()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DIgnoreExpr.h52 if (auto *FE = dyn_cast<FullExpr>(E)) in IgnoreImplicitCastsSingleStep()
79 if (auto *FE = dyn_cast<FullExpr>(E)) in IgnoreCastsSingleStep()
H A DComputeDependence.h25 class FullExpr; variable
112 ExprDependence computeDependence(FullExpr *E);
H A DExpr.h1027 class FullExpr : public Expr {
1031 FullExpr(StmtClass SC, Expr *subexpr) in FullExpr() function
1037 FullExpr(StmtClass SC, EmptyShell Empty) in FullExpr() function
1059 : public FullExpr,
H A DExprCXX.h3433 : public FullExpr,
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp256 isa<FullExpr>(OuterS))); in getPreviousAndNextStmt()
379 if (FullExpr *FE = dyn_cast<FullExpr>(Rec)) in checkForGCDOrXPC()
H A DTransAutoreleasePool.cpp406 if (FullExpr *FE = dyn_cast<FullExpr>(S)) in getEssential()
H A DTransforms.cpp77 if (const FullExpr *FE = dyn_cast<FullExpr>(E)) in isPlusOne()
H A DTransUnbridgedCasts.cpp374 } while (parent && isa<FullExpr>(parent)); in transformObjCToNonObjCCast()
H A DObjCMT.cpp216 bool subscriptOperatorNeedsParens(const Expr *FullExpr) { in subscriptOperatorNeedsParens() argument
217 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
225 isa<ObjCIvarRefExpr>(Expr) || isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp172 static bool subscriptOperatorNeedsParens(const Expr *FullExpr);
892 static bool subscriptOperatorNeedsParens(const Expr *FullExpr) { in subscriptOperatorNeedsParens() argument
893 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
907 isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
914 static bool castOperatorNeedsParens(const Expr *FullExpr) { in castOperatorNeedsParens() argument
915 const Expr* Expr = FullExpr->IgnoreImpCasts(); in castOperatorNeedsParens()
934 isa<ParenExpr>(FullExpr) || in castOperatorNeedsParens()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td104 def FullExpr : StmtNode<Expr, 1>;
105 def ConstantExpr : StmtNode<FullExpr>;
147 def ExprWithCleanups : StmtNode<FullExpr>;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp387 while (const FullExpr *FE = dyn_cast<FullExpr>(E)) in observeStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMap.cpp178 isa<FullExpr>(P))) { in isConsumedExpr()
H A DParentMapContext.cpp209 if (isa<FullExpr>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExprCXX.cpp989 if (auto *E = dyn_cast_if_present<FullExpr>(Init)) in getAdjustedRewrittenExpr()
1376 : FullExpr(ExprWithCleanupsClass, subexpr) { in ExprWithCleanups()
1393 : FullExpr(ExprWithCleanupsClass, empty) { in ExprWithCleanups()
H A DComputeDependence.cpp24 ExprDependence clang::computeDependence(FullExpr *E) { in computeDependence()
H A DExpr.cpp315 : FullExpr(ConstantExprClass, SubExpr) { in ConstantExpr()
350 : FullExpr(ConstantExprClass, Empty) { in ConstantExpr()
1945 if (auto *Full = dyn_cast<FullExpr>(E)) in ignoreImplicitSemaNodes()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp198 if (const FullExpr *FE = dyn_cast<FullExpr>(E)) { in LookThroughExpr()
H A DThreadSafety.cpp1416 else if (const auto *FE = dyn_cast<FullExpr>(Cond)) in getTrylockCallExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp152 } else if (const auto *FE = dyn_cast<FullExpr>(E)) { in getDerefExpr()
2141 if (const auto *FE = dyn_cast<FullExpr>(Ex)) in peelOffOuterExpr()
H A DBugReporter.cpp1356 if (isa<FullExpr, CXXBindTemporaryExpr, SubstNonTypeTemplateParmExpr>(S)) in getStmtParent()

12