Home
last modified time | relevance | path

Searched refs:FullExpr (Results 1 – 25 of 28) 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.cpp9059 ExprResult FullExpr = FE; in ActOnFinishFullExpr() local
9061 if (!FullExpr.get()) in ActOnFinishFullExpr()
9064 if (!IsTemplateArgument && DiagnoseUnexpandedParameterPack(FullExpr.get())) in ActOnFinishFullExpr()
9070 FullExpr.get()->getType() == Context.UnknownAnyTy) { in ActOnFinishFullExpr()
9071 FullExpr = forceUnknownAnyToType(FullExpr.get(), Context.getObjCIdType()); in ActOnFinishFullExpr()
9072 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
9076 FullExpr = CheckPlaceholderExpr(FullExpr.get()); in ActOnFinishFullExpr()
9077 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
9080 FullExpr = IgnoredValueConversions(FullExpr.get()); in ActOnFinishFullExpr()
9081 if (FullExpr.isInvalid()) in ActOnFinishFullExpr()
[all …]
H A DCheckExprLifetime.cpp504 if (auto *FE = dyn_cast<FullExpr>(Init)) in visitLocalsRetainedByReferenceBinding()
655 if (auto *FE = dyn_cast<FullExpr>(Init)) in visitLocalsRetainedByInitializer()
H A DSemaStmt.cpp273 if (const FullExpr *Temps = dyn_cast<FullExpr>(E)) in DiagnoseUnusedExprResult()
1048 if (const auto *FE = dyn_cast<FullExpr>(E)) in GetTypeBeforeIntegralPromotion()
2229 ExprResult FullExpr = ActOnFinishFullExpr(E, /*DiscardedValue*/ false); in ActOnForEachLValueExpr() local
2230 if (FullExpr.isInvalid()) in ActOnForEachLValueExpr()
2232 return StmtResult(static_cast<Stmt*>(FullExpr.get())); in ActOnForEachLValueExpr()
H A DSemaExpr.cpp20182 FullExprArg FullExpr = MakeFullExpr(Cond.get(), Loc); in ActOnCondition() local
20183 if (!FullExpr.get()) in ActOnCondition()
20186 return ConditionResult(*this, nullptr, FullExpr, in ActOnCondition()
/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
113 ExprDependence computeDependence(FullExpr *E);
H A DExpr.h1044 class FullExpr : public Expr {
1048 FullExpr(StmtClass SC, Expr *subexpr) in FullExpr() function
1054 FullExpr(StmtClass SC, EmptyShell Empty) in FullExpr() function
1076 : public FullExpr,
H A DExprCXX.h3470 : 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 DTransforms.cpp78 if (const FullExpr *FE = dyn_cast<FullExpr>(E)) in isPlusOne()
H A DTransUnbridgedCasts.cpp374 } while (isa_and_nonnull<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);
888 static bool subscriptOperatorNeedsParens(const Expr *FullExpr) { in subscriptOperatorNeedsParens() argument
889 const Expr* Expr = FullExpr->IgnoreImpCasts(); in subscriptOperatorNeedsParens()
903 isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
910 static bool castOperatorNeedsParens(const Expr *FullExpr) { in castOperatorNeedsParens() argument
911 const Expr* Expr = FullExpr->IgnoreImpCasts(); in castOperatorNeedsParens()
930 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/AST/
H A DParentMap.cpp181 isa<FullExpr>(P))) { in isConsumedExpr()
H A DParentMapContext.cpp228 if (isa<FullExpr>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExprCXX.cpp1039 if (auto *E = dyn_cast_if_present<FullExpr>(Init)) in getAdjustedRewrittenExpr()
1426 : FullExpr(ExprWithCleanupsClass, subexpr) { in ExprWithCleanups()
1443 : FullExpr(ExprWithCleanupsClass, empty) { in ExprWithCleanups()
H A DComputeDependence.cpp24 ExprDependence clang::computeDependence(FullExpr *E) { in computeDependence()
H A DExpr.cpp325 : FullExpr(ConstantExprClass, SubExpr) { in ConstantExpr()
360 : FullExpr(ConstantExprClass, Empty) { in ConstantExpr()
1970 if (auto *Full = dyn_cast<FullExpr>(E)) in ignoreImplicitSemaNodes()
H A DDecl.cpp2966 if (auto *E = dyn_cast_if_present<FullExpr>(Arg)) in getDefaultArg()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp198 if (const FullExpr *FE = dyn_cast<FullExpr>(E)) { in LookThroughExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp156 } else if (const auto *FE = dyn_cast<FullExpr>(E)) { in getDerefExpr()
2145 if (const auto *FE = dyn_cast<FullExpr>(Ex)) in peelOffOuterExpr()
H A DBugReporter.cpp1368 if (isa<FullExpr, CXXBindTemporaryExpr, SubstNonTypeTemplateParmExpr>(S)) in getStmtParent()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp1511 static QualType getConstantExprReferredType(const FullExpr *E, in getConstantExprReferredType()

12