Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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.cpp8775 ExprResult FullExpr = FE; in ActOnFinishFullExpr() local
8777 if (!FullExpr.get()) in ActOnFinishFullExpr()
8780 if (!IsTemplateArgument && DiagnoseUnexpandedParameterPack(FullExpr.get())) in ActOnFinishFullExpr()
8786 FullExpr.get()->getType() == Context.UnknownAnyTy) { in ActOnFinishFullExpr()
8787 FullExpr = forceUnknownAnyToType(FullExpr.get(), Context.getObjCIdType()); in ActOnFinishFullExpr()
8788 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8792 FullExpr = CheckPlaceholderExpr(FullExpr.get()); in ActOnFinishFullExpr()
8793 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
8796 FullExpr = IgnoredValueConversions(FullExpr.get()); in ActOnFinishFullExpr()
8797 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()
/openbsd-src/gnu/llvm/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
112 ExprDependence computeDependence(FullExpr *E);
H A DExpr.h1015 class FullExpr : public Expr {
1019 FullExpr(StmtClass SC, Expr *subexpr) in FullExpr() function
1025 FullExpr(StmtClass SC, EmptyShell Empty) in FullExpr() function
1044 : public FullExpr,
H A DExprCXX.h3417 : public FullExpr,
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td104 def FullExpr : StmtNode<Expr, 1>;
105 def ConstantExpr : StmtNode<FullExpr>;
147 def ExprWithCleanups : StmtNode<FullExpr>;
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp387 while (const FullExpr *FE = dyn_cast<FullExpr>(E)) in observeStmt()
/openbsd-src/gnu/llvm/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.cpp980 if (auto *E = dyn_cast_if_present<FullExpr>(Init)) in getAdjustedRewrittenExpr()
1366 : FullExpr(ExprWithCleanupsClass, subexpr) { in ExprWithCleanups()
1383 : FullExpr(ExprWithCleanupsClass, empty) { in ExprWithCleanups()
H A DComputeDependence.cpp24 ExprDependence clang::computeDependence(FullExpr *E) { in computeDependence()
H A DExpr.cpp378 : FullExpr(ConstantExprClass, SubExpr) { in ConstantExpr()
412 : FullExpr(ConstantExprClass, Empty) { in ConstantExpr()
1963 if (auto *Full = dyn_cast<FullExpr>(E)) in ignoreImplicitSemaNodes()
H A DDecl.cpp2901 if (auto *E = dyn_cast_or_null<FullExpr>(Arg)) in getDefaultArg()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DLiveVariables.cpp198 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()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp142 } else if (const auto *FE = dyn_cast<FullExpr>(E)) { in getDerefExpr()
2124 if (const auto *FE = dyn_cast<FullExpr>(Ex)) in peelOffOuterExpr()
H A DBugReporter.cpp1355 if (isa<FullExpr, CXXBindTemporaryExpr, SubstNonTypeTemplateParmExpr>(S)) in getStmtParent()

12