Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMap.cpp150 } while (isa_and_nonnull<ParenExpr>(S)); in getParentIgnoreParens()
158 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts()
174 while (isa<ParenExpr>(S)) { in getOuterParenParent()
186 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr()
H A DParentMapContext.cpp243 if (isa<ParenExpr>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExpr.cpp2634 return cast<ParenExpr>(this)->getSubExpr()-> in isUnusedResultAWarning()
3168 if (auto *PE = dyn_cast<ParenExpr>(ExprNode)) { in IgnoreUnlessSpelledInSource()
3271 if (const ParenExpr *Paren = dyn_cast<ParenExpr>(E)) { in isImplicitCXXThis()
3460 return cast<ParenExpr>(this)->getSubExpr() in isConstantInitializer()
4012 } else if (const ParenExpr *PE = dyn_cast<ParenExpr>(this)) { in isNullPointerConstant()
/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
116 ExprDependence computeDependence(ParenExpr *E);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp80 TypeCallPair VisitParenExpr(const ParenExpr *E) { in VisitParenExpr()
122 void VisitParenExpr(const ParenExpr *E) { in VisitParenExpr()
H A DArrayBoundChecker.cpp809 } while (isa_and_nonnull<ParenExpr, ImplicitCastExpr>(S)); in isInAddressOf()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp875 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in getIvarAccessString()
2612 ParenExpr *PE = new (Context) ParenExpr(Exp->getLocation(), Exp->getExprLoc(), in RewriteObjCBoolLiteralExpr()
2692 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCBoxedExpr()
2813 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCArrayLiteralExpr()
2965 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCDictionaryLiteralExpr()
3531 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in SynthMessageExpr()
4542 else if (const ParenExpr *PRE = dyn_cast<ParenExpr>(BlockExp)) { in SynthesizeBlockCall()
4600 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthesizeBlockCall()
4615 PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), FunkCast); in SynthesizeBlockCall()
4670 ParenExpr *PE = new (Context) ParenExpr(DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr()
[all …]
H A DRewriteObjC.cpp2614 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), cast); in SynthMsgSendStretCallExpr()
2960 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in SynthMessageExpr()
3000 ReplacingStmt = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthMessageExpr()
3720 else if (const ParenExpr *PRE = dyn_cast<ParenExpr>(BlockExp)) { in SynthesizeBlockCall()
3778 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthesizeBlockCall()
3793 PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), FunkCast); in SynthesizeBlockCall()
3849 ParenExpr *PE = new (Context) ParenExpr(DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr()
3868 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in RewriteLocalVariableExternalStorage()
5812 ParenExpr *PE = new (Context) ParenExpr(OldRange.getBegin(), in RewriteObjCIvarRefExpr()
5853 ParenExpr *PE = new (Context) ParenExpr( in RewriteObjCIvarRefExpr()
/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp903 isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
930 isa<ParenExpr>(FullExpr) || in castOperatorNeedsParens()
1116 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in rewriteToNumericBoxedExpression()
1155 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprComplex.cpp56 mlir::Value VisitParenExpr(ParenExpr *e);
328 mlir::Value ComplexExprEmitter::VisitParenExpr(ParenExpr *e) { in VisitParenExpr()
H A DCIRGenExprConstant.cpp70 mlir::Attribute VisitParenExpr(ParenExpr *pe, QualType t) { in VisitParenExpr()
H A DCIRGenFunction.cpp722 return emitLValue(cast<ParenExpr>(e)->getSubExpr()); in emitLValue()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaFixItUtils.cpp85 isa<ParenExpr>(FullExpr) || in tryToFixConversion()
H A DSemaPseudoObject.cpp120 if (ParenExpr *parens = dyn_cast<ParenExpr>(e)) { in rebuild()
122 return new (S.Context) ParenExpr(parens->getLParen(), in rebuild()
H A DSemaExprObjC.cpp3796 if (isa<ParenExpr>(castedE)) { in addFixitForObjCARCConversion()
3829 if (isa<ParenExpr>(castedE)) { in addFixitForObjCARCConversion()
4553 if (ParenExpr *pe = dyn_cast<ParenExpr>(e)) { in stripARCUnbridgedCast()
4555 return new (Context) ParenExpr(pe->getLParen(), pe->getRParen(), sub); in stripARCUnbridgedCast()
4615 if (auto *pe = dyn_cast<ParenExpr>(curExpr)) { in maybeUndoReclaimObject()
4626 if (auto *pe = dyn_cast<ParenExpr>(prevExpr)) in maybeUndoReclaimObject()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DReachableCode.cpp203 if (const ParenExpr *PE = dyn_cast<ParenExpr>(S)) in isConfigurationValue()
H A DExprMutationAnalyzer.cpp135 if (const auto *PE = dyn_cast<ParenExpr>(E)) in resolveExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp64 if (auto *tempExpr = dyn_cast<ParenExpr>(E)) { in tryToFindPtrOrigin()
H A DRefCntblBaseVirtualDtorChecker.cpp109 if (auto *Paren = dyn_cast<ParenExpr>(Arg)) in VisitCXXDeleteExpr()
H A DPtrTypesSemantics.cpp805 bool VisitParenExpr(const ParenExpr *PE) { return Visit(PE->getSubExpr()); } in VisitParenExpr()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp69 while (isa<CastExpr>(*It) || isa<ParenExpr>(*It)) { in getRolesForRef()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td69 def ParenExpr : StmtNode<Expr>;
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp807 void VisitParenExpr(const ParenExpr *S) { in VisitParenExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.h136 bool VisitParenExpr(const ParenExpr *E);

123