Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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.cpp8751 ExprResult FullExpr = FE; in ActOnFinishFullExpr() local
8753 if (!FullExpr.get()) in ActOnFinishFullExpr()
8763 FullExpr = forceUnknownAnyToType(FullExpr.get(), Context.getObjCIdType()); in ActOnFinishFullExpr()
8764 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8768 FullExpr = CheckPlaceholderExpr(FullExpr.get()); in ActOnFinishFullExpr()
8769 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8772 FullExpr = IgnoredValueConversions(FullExpr.get()); in ActOnFinishFullExpr()
8773 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8779 FullExpr = CorrectDelayedTyposInExpr(FullExpr.get(), /*InitDecl=*/nullptr, in ActOnFinishFullExpr()
8781 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
[all …]
H A DSemaStmt.cpp267 if (const FullExpr *Temps = dyn_cast<FullExpr>(E)) in DiagnoseUnusedExprResult()
1017 if (const auto *FE = dyn_cast<FullExpr>(E)) in GetTypeBeforeIntegralPromotion()
2200 ExprResult FullExpr = ActOnFinishFullExpr(E, /*DiscardedValue*/ false); in ActOnForEachLValueExpr() local
2201 if (FullExpr.isInvalid()) in ActOnForEachLValueExpr()
2203 return StmtResult(static_cast<Stmt*>(FullExpr.get())); in ActOnForEachLValueExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DIgnoreExpr.h51 if (auto *FE = dyn_cast<FullExpr>(E)) in IgnoreImplicitCastsSingleStep()
78 if (auto *FE = dyn_cast<FullExpr>(E)) in IgnoreCastsSingleStep()
H A DComputeDependence.h25 class FullExpr; variable
111 ExprDependence computeDependence(FullExpr *E);
H A DExpr.h1004 class FullExpr : public Expr {
1008 FullExpr(StmtClass SC, Expr *subexpr) in FullExpr() function
1014 FullExpr(StmtClass SC, EmptyShell Empty) in FullExpr() function
1033 : public FullExpr,
H A DExprCXX.h3360 : public FullExpr,
/llvm-project-15.0.7/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.cpp219 bool subscriptOperatorNeedsParens(const Expr *FullExpr) { in subscriptOperatorNeedsParens() argument
220 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
228 isa<ObjCIvarRefExpr>(Expr) || isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
/llvm-project-15.0.7/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp171 static bool subscriptOperatorNeedsParens(const Expr *FullExpr);
891 static bool subscriptOperatorNeedsParens(const Expr *FullExpr) { in subscriptOperatorNeedsParens() argument
892 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
906 isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
913 static bool castOperatorNeedsParens(const Expr *FullExpr) { in castOperatorNeedsParens() argument
914 const Expr* Expr = FullExpr->IgnoreImpCasts(); in castOperatorNeedsParens()
933 isa<ParenExpr>(FullExpr) || in castOperatorNeedsParens()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DStmtNodes.td104 def FullExpr : StmtNode<Expr, 1>;
105 def ConstantExpr : StmtNode<FullExpr>;
147 def ExprWithCleanups : StmtNode<FullExpr>;
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp388 while (const FullExpr *FE = dyn_cast<FullExpr>(E)) in observeStmt()
/llvm-project-15.0.7/clang/lib/AST/
H A DParentMap.cpp176 isa<FullExpr>(P))) { in isConsumedExpr()
H A DParentMapContext.cpp209 if (isa<FullExpr>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExprCXX.cpp1300 : FullExpr(ExprWithCleanupsClass, subexpr) { in ExprWithCleanups()
1317 : FullExpr(ExprWithCleanupsClass, empty) { in ExprWithCleanups()
H A DComputeDependence.cpp24 ExprDependence clang::computeDependence(FullExpr *E) { in computeDependence()
H A DExpr.cpp295 : FullExpr(ConstantExprClass, SubExpr) { in ConstantExpr()
329 : FullExpr(ConstantExprClass, Empty) { in ConstantExpr()
1880 if (auto *Full = dyn_cast<FullExpr>(E)) in ignoreImplicitSemaNodes()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DLiveVariables.cpp197 if (const FullExpr *FE = dyn_cast<FullExpr>(E)) { in LookThroughExpr()
H A DThreadSafety.cpp1402 else if (const auto *FE = dyn_cast<FullExpr>(Cond)) in getTrylockCallExpr()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DRedundantExpressionCheck.cpp373 isa<FullExpr>(Parent) || in hasSameOperatorParent()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp143 } else if (const auto *FE = dyn_cast<FullExpr>(E)) { in getDerefExpr()
1965 if (const auto *FE = dyn_cast<FullExpr>(Ex)) in peelOffOuterExpr()
H A DBugReporter.cpp1356 if (isa<FullExpr, CXXBindTemporaryExpr, SubstNonTypeTemplateParmExpr>(S)) in getStmtParent()

12