Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DParentMap.cpp129 do { S = getParent(S); } while (S && isa<ParenExpr>(S)); in getParentIgnoreParens()
137 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts()
152 while (isa<ParenExpr>(S)) { in getOuterParenParent()
164 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr()
DExpr.cpp1913 return cast<ParenExpr>(this)->getSubExpr()-> in isUnusedResultAWarning()
2298 if (ParenExpr* P = dyn_cast<ParenExpr>(E)) { in IgnoreParens()
2567 if (const ParenExpr *Paren = dyn_cast<ParenExpr>(E)) { in isImplicitCXXThis()
2716 return cast<ParenExpr>(this)->getSubExpr() in isConstantInitializer()
3175 } else if (const ParenExpr *PE = dyn_cast<ParenExpr>(this)) { in isNullPointerConstant()
DExprClassification.cpp269 return ClassifyInternal(Ctx, cast<ParenExpr>(E)->getSubExpr()); in ClassifyInternal()
/external/clang/test/Index/
Dannotate-literals.m84 // CHECK-LITERALS: Punctuation: "(" [45:13 - 45:14] ParenExpr=
86 // CHECK-LITERALS: Punctuation: ")" [45:15 - 45:16] ParenExpr=
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp250 while (OuterS && (isa<ParenExpr>(OuterS) || in getPreviousAndNextStmt()
433 if (ParenExpr *parenE = dyn_cast_or_null<ParenExpr>(parent)) in tryRemoving()
DTransUnbridgedCasts.cpp241 if (isa<ParenExpr>(E->getSubExpr())) { in rewriteToBridgedCast()
266 if (isa<ParenExpr>(WrapE)) { in rewriteToBridgedCast()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp82 TypeCallPair VisitParenExpr(const ParenExpr *E) { in VisitParenExpr()
124 void VisitParenExpr(const ParenExpr *E) { in VisitParenExpr()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp873 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in getIvarAccessString()
2607 ParenExpr *PE = new (Context) ParenExpr(Exp->getLocation(), Exp->getExprLoc(), in RewriteObjCBoolLiteralExpr()
2688 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCBoxedExpr()
2811 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCArrayLiteralExpr()
2965 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCDictionaryLiteralExpr()
3539 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in SynthMessageExpr()
4568 else if (const ParenExpr *PRE = dyn_cast<ParenExpr>(BlockExp)) { in SynthesizeBlockCall()
4628 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthesizeBlockCall()
4644 PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), FunkCast); in SynthesizeBlockCall()
4701 ParenExpr *PE = new (Context) ParenExpr(DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr()
[all …]
DRewriteObjC.cpp2607 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), cast); in SynthMsgSendStretCallExpr()
2959 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in SynthMessageExpr()
3002 ReplacingStmt = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthMessageExpr()
3727 else if (const ParenExpr *PRE = dyn_cast<ParenExpr>(BlockExp)) { in SynthesizeBlockCall()
3787 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthesizeBlockCall()
3803 PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), FunkCast); in SynthesizeBlockCall()
3860 ParenExpr *PE = new (Context) ParenExpr(DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr()
3879 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in RewriteLocalVariableExternalStorage()
5839 ParenExpr *PE = new (Context) ParenExpr(OldRange.getBegin(), in RewriteObjCIvarRefExpr()
5879 ParenExpr *PE = new (Context) ParenExpr(IV->getBase()->getLocStart(), in RewriteObjCIvarRefExpr()
/external/clang/docs/
DIntroductionToTheClangAST.rst30 clang ParenExpr).
59 | `-ParenExpr 0x5aeacf0 <col:16, col:23> 'int'
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestExprVisitor.cpp19 bool VisitParenExpr(ParenExpr *Parens) { in VisitParenExpr()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp904 isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
931 isa<ParenExpr>(FullExpr) || in castOperatorNeedsParens()
1099 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in rewriteToNumericBoxedExpression()
1138 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in doRewriteToUTF8StringBoxedExpressionHelper()
/external/clang/lib/Analysis/
DReachableCode.cpp171 if (const ParenExpr *PE = dyn_cast<ParenExpr>(S)) in isConfigurationValue()
DThreadSafety.cpp1337 else if (const ParenExpr *PE = dyn_cast<ParenExpr>(Cond)) { in getTrylockCallExpr()
1643 if (const ParenExpr *PE = dyn_cast<ParenExpr>(Exp)) { in checkPtAccess()
DThreadSafetyCommon.cpp237 return translate(cast<ParenExpr>(S)->getSubExpr(), Ctx); in translate()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp86 isa<ParenExpr>(FullExpr) || in tryToFixConversion()
DSemaPseudoObject.cpp121 if (ParenExpr *parens = dyn_cast<ParenExpr>(e)) { in rebuild()
123 return new (S.Context) ParenExpr(parens->getLParen(), in rebuild()
DSemaExprObjC.cpp3423 if (isa<ParenExpr>(castedE)) { in addFixitForObjCARCConversion()
3456 if (isa<ParenExpr>(castedE)) { in addFixitForObjCARCConversion()
4160 if (ParenExpr *pe = dyn_cast<ParenExpr>(e)) { in stripARCUnbridgedCast()
4162 return new (Context) ParenExpr(pe->getLParen(), pe->getRParen(), sub); in stripARCUnbridgedCast()
DSemaExpr.cpp3528 return new (Context) ParenExpr(L, R, E); in ActOnParenExpr()
5966 ParenExpr *PE = dyn_cast<ParenExpr>(CastExpr); in ActOnCastExpr()
6011 assert((isa<ParenListExpr>(E) || isa<ParenExpr>(E)) && in BuildVectorLiteral()
6024 LiteralLParenLoc = cast<ParenExpr>(E)->getLParen(); in BuildVectorLiteral()
6025 LiteralRParenLoc = cast<ParenExpr>(E)->getRParen(); in BuildVectorLiteral()
6026 subExpr = cast<ParenExpr>(E)->getSubExpr(); in BuildVectorLiteral()
10300 return getPrimaryDecl(cast<ParenExpr>(E)->getSubExpr()); in getPrimaryDecl()
14344 void Sema::DiagnoseEqualityWithExtraParens(ParenExpr *ParenE) { in DiagnoseEqualityWithExtraParens()
14374 if (ParenExpr *parenE = dyn_cast<ParenExpr>(E)) in CheckBooleanCondition()
14468 ExprResult VisitParenExpr(ParenExpr *E) { in VisitParenExpr()
[all …]
/external/clang/lib/Index/
DIndexBody.cpp60 while (isa<CastExpr>(*It) || isa<ParenExpr>(*It)) { in getRolesForRef()
/external/clang/include/clang/Basic/
DStmtNodes.td64 def ParenExpr : DStmt<Expr>;
/external/clang/unittests/ASTMatchers/Dynamic/
DRegistryTest.cpp508 TEST_F(RegistryTest, ParenExpr) { in TEST_F() argument
/external/v8/tools/gcmole/
Dgcmole.cc609 VISIT(ParenExpr); in VisitExpr()
755 DECL_VISIT_EXPR(ParenExpr) { in DECL_VISIT_EXPR() argument
/external/clang/include/clang/AST/
DExpr.h1619 class ParenExpr : public Expr {
1623 ParenExpr(SourceLocation l, SourceLocation r, Expr *val) in ParenExpr() function
1632 explicit ParenExpr(EmptyShell Empty) in ParenExpr() function
/external/clang/lib/CodeGen/
DCGClass.cpp2812 if (const ParenExpr *PE = dyn_cast<ParenExpr>(E)) { in skipNoOpCastsAndParens()

123