Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaFixItUtils.cpp51 bool ConversionFixItGenerator::tryToFixConversion(const Expr *FullExpr, in tryToFixConversion() argument
55 if (!FullExpr) in tryToFixConversion()
60 const SourceLocation Begin = FullExpr->getSourceRange().getBegin(); in tryToFixConversion()
61 const SourceLocation End = S.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
66 const Expr* Expr = FullExpr->IgnoreImpCasts(); in tryToFixConversion()
86 isa<ParenExpr>(FullExpr) || in tryToFixConversion()
DSemaExprCXX.cpp6982 ExprResult FullExpr = FE; in ActOnFinishFullExpr() local
6984 if (!FullExpr.get()) in ActOnFinishFullExpr()
7003 DiagnoseUnexpandedParameterPack(FullExpr.get())) in ActOnFinishFullExpr()
7008 FullExpr.get()->getType() == Context.UnknownAnyTy) { in ActOnFinishFullExpr()
7009 FullExpr = forceUnknownAnyToType(FullExpr.get(), Context.getObjCIdType()); in ActOnFinishFullExpr()
7010 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
7015 FullExpr = CheckPlaceholderExpr(FullExpr.get()); in ActOnFinishFullExpr()
7016 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
7019 FullExpr = IgnoredValueConversions(FullExpr.get()); in ActOnFinishFullExpr()
7020 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
[all …]
DSemaStmt.cpp1689 ExprResult FullExpr = ActOnFinishFullExpr(E); in ActOnForEachLValueExpr() local
1690 if (FullExpr.isInvalid()) in ActOnForEachLValueExpr()
1692 return StmtResult(static_cast<Stmt*>(FullExpr.get())); in ActOnForEachLValueExpr()
/external/llvm-project/clang/lib/Sema/
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()
DSemaExprCXX.cpp8343 ExprResult FullExpr = FE; in ActOnFinishFullExpr() local
8345 if (!FullExpr.get()) in ActOnFinishFullExpr()
8348 if (DiagnoseUnexpandedParameterPack(FullExpr.get())) in ActOnFinishFullExpr()
8354 FullExpr.get()->getType() == Context.UnknownAnyTy) { in ActOnFinishFullExpr()
8355 FullExpr = forceUnknownAnyToType(FullExpr.get(), Context.getObjCIdType()); in ActOnFinishFullExpr()
8356 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8360 FullExpr = CheckPlaceholderExpr(FullExpr.get()); in ActOnFinishFullExpr()
8361 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8364 FullExpr = IgnoredValueConversions(FullExpr.get()); in ActOnFinishFullExpr()
8365 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
[all …]
DSemaStmt.cpp267 if (const FullExpr *Temps = dyn_cast<FullExpr>(E)) in DiagnoseUnusedExprResult()
700 if (const auto *FE = dyn_cast<FullExpr>(E)) in GetTypeBeforeIntegralPromotion()
1870 ExprResult FullExpr = ActOnFinishFullExpr(E, /*DiscardedValue*/ false); in ActOnForEachLValueExpr() local
1871 if (FullExpr.isInvalid()) in ActOnForEachLValueExpr()
1873 return StmtResult(static_cast<Stmt*>(FullExpr.get())); in ActOnForEachLValueExpr()
/external/llvm-project/clang/include/clang/AST/
DIgnoreExpr.h51 if (auto *FE = dyn_cast<FullExpr>(E)) in IgnoreImplicitCastsSingleStep()
78 if (auto *FE = dyn_cast<FullExpr>(E)) in IgnoreCastsSingleStep()
DComputeDependence.h25 class FullExpr; variable
107 ExprDependence computeDependence(FullExpr *E);
DExpr.h994 class FullExpr : public Expr {
998 FullExpr(StmtClass SC, Expr *subexpr) in FullExpr() function
1004 FullExpr(StmtClass SC, EmptyShell Empty) in FullExpr() function
1023 : public FullExpr,
/external/llvm-project/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp256 isa<FullExpr>(OuterS))); in getPreviousAndNextStmt()
379 if (FullExpr *FE = dyn_cast<FullExpr>(Rec)) in checkForGCDOrXPC()
DTransAutoreleasePool.cpp405 if (FullExpr *FE = dyn_cast<FullExpr>(S)) in getEssential()
DTransforms.cpp77 if (const FullExpr *FE = dyn_cast<FullExpr>(E)) in isPlusOne()
DTransUnbridgedCasts.cpp374 } while (parent && isa<FullExpr>(parent)); in transformObjCToNonObjCCast()
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()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp172 static bool subscriptOperatorNeedsParens(const Expr *FullExpr);
889 static bool subscriptOperatorNeedsParens(const Expr *FullExpr) { in subscriptOperatorNeedsParens() argument
890 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
904 isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
911 static bool castOperatorNeedsParens(const Expr *FullExpr) { in castOperatorNeedsParens() argument
912 const Expr* Expr = FullExpr->IgnoreImpCasts(); in castOperatorNeedsParens()
931 isa<ParenExpr>(FullExpr) || in castOperatorNeedsParens()
/external/llvm-project/clang/lib/Edit/
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()
/external/llvm-project/clang/include/clang/Basic/
DStmtNodes.td103 def FullExpr : StmtNode<Expr, 1>;
104 def ConstantExpr : StmtNode<FullExpr>;
146 def ExprWithCleanups : StmtNode<FullExpr>;
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp390 while (const FullExpr *FE = dyn_cast<FullExpr>(E)) in observeStmt()
/external/llvm-project/clang/lib/AST/
DParentMap.cpp177 isa<FullExpr>(P))) { in isConsumedExpr()
DParentMapContext.cpp138 if (isa<FullExpr>(E)) in AscendIgnoreUnlessSpelledInSource()
DComputeDependence.cpp24 ExprDependence clang::computeDependence(FullExpr *E) { in computeDependence()
DExprCXX.cpp1294 : FullExpr(ExprWithCleanupsClass, subexpr) { in ExprWithCleanups()
1311 : FullExpr(ExprWithCleanupsClass, empty) { in ExprWithCleanups()
/external/llvm-project/clang/lib/Analysis/
DLiveVariables.cpp192 if (const FullExpr *FE = dyn_cast<FullExpr>(E)) { in LookThroughExpr()
/external/clang/lib/ARCMigrate/
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()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp138 } else if (const auto *FE = dyn_cast<FullExpr>(E)) { in getDerefExpr()
1854 if (const auto *FE = dyn_cast<FullExpr>(Ex)) in peelOffOuterExpr()

12