Home
last modified time | relevance | path

Searched refs:ParenExpr (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMap.cpp144 } while (isa_and_nonnull<ParenExpr>(S)); in getParentIgnoreParens()
152 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts()
168 while (isa<ParenExpr>(S)) { in getOuterParenParent()
180 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr()
H A DParentMapContext.cpp237 if (isa<ParenExpr>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExpr.cpp2617 return cast<ParenExpr>(this)->getSubExpr()-> in isUnusedResultAWarning()
3148 if (auto *PE = dyn_cast<ParenExpr>(ExprNode)) { in IgnoreUnlessSpelledInSource()
3251 if (const ParenExpr *Paren = dyn_cast<ParenExpr>(E)) { in isImplicitCXXThis()
3436 return cast<ParenExpr>(this)->getSubExpr() in isConstantInitializer()
3985 } else if (const ParenExpr *PE = dyn_cast<ParenExpr>(this)) { in isNullPointerConstant()
H A DExprClassification.cpp317 return ClassifyInternal(Ctx, cast<ParenExpr>(E)->getSubExpr()); in ClassifyInternal()
H A DComputeDependence.cpp36 ExprDependence clang::computeDependence(ParenExpr *E) { in computeDependence()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DIgnoreExpr.h145 if (auto *PE = dyn_cast<ParenExpr>(E)) in IgnoreParensOnlySingleStep()
151 if (auto *PE = dyn_cast<ParenExpr>(E)) in IgnoreParensSingleStep()
H A DComputeDependence.h27 class ParenExpr; variable
115 ExprDependence computeDependence(ParenExpr *E);
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp254 while (OuterS && (isa<ParenExpr>(OuterS) || in getPreviousAndNextStmt()
437 if (ParenExpr *parenE = dyn_cast_or_null<ParenExpr>(parent)) in tryRemoving()
H A DTransUnbridgedCasts.cpp238 if (isa<ParenExpr>(E->getSubExpr())) { in rewriteToBridgedCast()
264 if (isa<ParenExpr>(WrapE)) { in rewriteToBridgedCast()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp82 TypeCallPair VisitParenExpr(const ParenExpr *E) { in VisitParenExpr()
124 void VisitParenExpr(const ParenExpr *E) { in VisitParenExpr()
H A DArrayBoundCheckerV2.cpp754 } while (isa_and_nonnull<ParenExpr, ImplicitCastExpr>(S)); in isInAddressOf()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp38 if (auto *tempExpr = dyn_cast<ParenExpr>(E)) { in tryToFindPtrOrigin()
H A DRefCntblBaseVirtualDtorChecker.cpp76 if (auto *Paren = dyn_cast<ParenExpr>(Arg)) in VisitCXXDeleteExpr()
H A DPtrTypesSemantics.cpp508 bool VisitParenExpr(const ParenExpr *PE) { return Visit(PE->getSubExpr()); } in VisitParenExpr()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp876 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in getIvarAccessString()
2613 ParenExpr *PE = new (Context) ParenExpr(Exp->getLocation(), Exp->getExprLoc(), in RewriteObjCBoolLiteralExpr()
2693 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCBoxedExpr()
2814 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCArrayLiteralExpr()
2966 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCDictionaryLiteralExpr()
3532 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in SynthMessageExpr()
4558 else if (const ParenExpr *PRE = dyn_cast<ParenExpr>(BlockExp)) { in SynthesizeBlockCall()
4616 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthesizeBlockCall()
4631 PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), FunkCast); in SynthesizeBlockCall()
4686 ParenExpr *PE = new (Context) ParenExpr(DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp903 isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
930 isa<ParenExpr>(FullExpr) || in castOperatorNeedsParens()
1114 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in rewriteToNumericBoxedExpression()
1153 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp85 isa<ParenExpr>(FullExpr) || in tryToFixConversion()
H A DSemaPseudoObject.cpp122 if (ParenExpr *parens = dyn_cast<ParenExpr>(e)) { in rebuild()
124 return new (S.Context) ParenExpr(parens->getLParen(), in rebuild()
H A DSemaExprObjC.cpp3806 if (isa<ParenExpr>(castedE)) { in addFixitForObjCARCConversion()
3839 if (isa<ParenExpr>(castedE)) { in addFixitForObjCARCConversion()
4559 if (ParenExpr *pe = dyn_cast<ParenExpr>(e)) { in stripARCUnbridgedCast()
4561 return new (Context) ParenExpr(pe->getLParen(), pe->getRParen(), sub); in stripARCUnbridgedCast()
4621 if (auto *pe = dyn_cast<ParenExpr>(curExpr)) { in maybeUndoReclaimObject()
4632 if (auto *pe = dyn_cast<ParenExpr>(prevExpr)) in maybeUndoReclaimObject()
H A DSemaStmtAsm.cpp40 if (auto *ParenE = dyn_cast<ParenExpr>(Parent)) { in removeLValueToRValueCast()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp204 if (const ParenExpr *PE = dyn_cast<ParenExpr>(S)) in isConfigurationValue()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp68 while (isa<CastExpr>(*It) || isa<ParenExpr>(*It)) { in getRolesForRef()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td68 def ParenExpr : StmtNode<Expr>;
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.h122 bool VisitParenExpr(const ParenExpr *E);
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp802 void VisitParenExpr(const ParenExpr *S) { in VisitParenExpr()

123