Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DParentMap.cpp127 do { S = getParent(S); } while (S && isa<ParenExpr>(S)); in getParentIgnoreParens()
135 while (S && (isa<ParenExpr>(S) || isa<CastExpr>(S))); in getParentIgnoreParenCasts()
150 while (isa<ParenExpr>(S)) { in getOuterParenParent()
162 while (P && (isa<ParenExpr>(P) || isa<CastExpr>(P) || in isConsumedExpr()
DExpr.cpp1927 return cast<ParenExpr>(this)->getSubExpr()-> in isUnusedResultAWarning()
2294 if (ParenExpr* P = dyn_cast<ParenExpr>(E)) { in IgnoreParens()
2542 if (const ParenExpr *Paren = dyn_cast<ParenExpr>(E)) { in isImplicitCXXThis()
2681 return cast<ParenExpr>(this)->getSubExpr() in isConstantInitializer()
3037 } else if (const ParenExpr *PE = dyn_cast<ParenExpr>(this)) { in isNullPointerConstant()
DExprClassification.cpp263 return ClassifyInternal(Ctx, cast<ParenExpr>(E)->getSubExpr()); in ClassifyInternal()
DStmtProfile.cpp334 void StmtProfiler::VisitParenExpr(const ParenExpr *S) { in VisitParenExpr()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp260 while (OuterS && (isa<ParenExpr>(OuterS) || in getPreviousAndNextStmt()
443 if (ParenExpr *parenE = dyn_cast_or_null<ParenExpr>(parent)) in tryRemoving()
DTransUnbridgedCasts.cpp233 if (isa<ParenExpr>(E->getSubExpr())) { in rewriteToBridgedCast()
258 if (isa<ParenExpr>(WrapE)) { in rewriteToBridgedCast()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp83 TypeCallPair VisitParenExpr(const ParenExpr *E) { in VisitParenExpr()
126 void VisitParenExpr(const ParenExpr *E) { in VisitParenExpr()
/external/clang/docs/
DIntroductionToTheClangAST.rst30 clang ParenExpr).
69 (ParenExpr 0x48a59a0 <col:16, col:23> 'int'
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp875 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in getIvarAccessString()
2655 ParenExpr *PE = new (Context) ParenExpr(Exp->getLocation(), Exp->getExprLoc(), in RewriteObjCBoolLiteralExpr()
2746 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCBoxedExpr()
2883 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCArrayLiteralExpr()
3056 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in RewriteObjCDictionaryLiteralExpr()
3642 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in SynthMessageExpr()
3685 ReplacingStmt = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthMessageExpr()
4756 else if (const ParenExpr *PRE = dyn_cast<ParenExpr>(BlockExp)) { in SynthesizeBlockCall()
4817 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthesizeBlockCall()
4834 PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), FunkCast); in SynthesizeBlockCall()
[all …]
DRewriteObjC.cpp2647 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), cast); in SynthMsgSendStretCallExpr()
3031 ParenExpr *PE = new (Context) ParenExpr(StartLoc, EndLoc, cast); in SynthMessageExpr()
3075 ReplacingStmt = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthMessageExpr()
3818 else if (const ParenExpr *PRE = dyn_cast<ParenExpr>(BlockExp)) { in SynthesizeBlockCall()
3879 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in SynthesizeBlockCall()
3896 PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), FunkCast); in SynthesizeBlockCall()
3954 ParenExpr *PE = new (Context) ParenExpr(DeclRefExp->getExprLoc(), in RewriteBlockDeclRefExpr()
3973 ParenExpr *PE = new (Context) ParenExpr(SourceLocation(), SourceLocation(), in RewriteLocalVariableExternalStorage()
5959 ParenExpr *PE = new (Context) ParenExpr(OldRange.getBegin(), in RewriteObjCIvarRefExpr()
6000 ParenExpr *PE = new (Context) ParenExpr(IV->getBase()->getLocStart(), in RewriteObjCIvarRefExpr()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp904 isa<ParenExpr>(FullExpr) || in subscriptOperatorNeedsParens()
931 isa<ParenExpr>(FullExpr) || in castOperatorNeedsParens()
1095 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in rewriteToNumericBoxedExpression()
1134 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in doRewriteToUTF8StringBoxedExpressionHelper()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp86 isa<ParenExpr>(FullExpr) || in tryToFixConversion()
DSemaPseudoObject.cpp61 if (ParenExpr *parens = dyn_cast<ParenExpr>(e)) { in rebuild()
63 return new (S.Context) ParenExpr(parens->getLParen(), in rebuild()
DSemaExprObjC.cpp2991 if (isa<ParenExpr>(castedE)) { in addFixitForObjCARCConversion()
3024 if (isa<ParenExpr>(castedE)) { in addFixitForObjCARCConversion()
3292 if (ParenExpr *pe = dyn_cast<ParenExpr>(e)) { in stripARCUnbridgedCast()
3294 return new (Context) ParenExpr(pe->getLParen(), pe->getRParen(), sub); in stripARCUnbridgedCast()
DSemaExpr.cpp3154 return Owned(new (Context) ParenExpr(L, R, E)); in ActOnParenExpr()
5020 ParenExpr *PE = dyn_cast<ParenExpr>(CastExpr); in ActOnCastExpr()
5057 assert((isa<ParenListExpr>(E) || isa<ParenExpr>(E)) && in BuildVectorLiteral()
5070 LiteralLParenLoc = cast<ParenExpr>(E)->getLParen(); in BuildVectorLiteral()
5071 LiteralRParenLoc = cast<ParenExpr>(E)->getRParen(); in BuildVectorLiteral()
5072 subExpr = cast<ParenExpr>(E)->getSubExpr(); in BuildVectorLiteral()
8472 return getPrimaryDecl(cast<ParenExpr>(E)->getSubExpr()); in getPrimaryDecl()
12152 void Sema::DiagnoseEqualityWithExtraParens(ParenExpr *ParenE) { in DiagnoseEqualityWithExtraParens()
12181 if (ParenExpr *parenE = dyn_cast<ParenExpr>(E)) in CheckBooleanCondition()
12250 ExprResult VisitParenExpr(ParenExpr *E) { in VisitParenExpr()
[all …]
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp78 bool VisitParenExpr(ParenExpr *Parens) { in VisitParenExpr()
/external/clang/include/clang/Basic/
DStmtNodes.td60 def ParenExpr : DStmt<Expr>;
/external/clang/lib/Analysis/
DThreadSafety.cpp442 } else if (const ParenExpr *PE = dyn_cast<ParenExpr>(Exp)) { in buildSExpr()
1633 else if (const ParenExpr *PE = dyn_cast<ParenExpr>(Cond)) { in getTrylockCallExpr()
/external/chromium_org/v8/tools/gcmole/
Dgcmole.cc582 VISIT(ParenExpr); in VisitExpr()
737 DECL_VISIT_EXPR(ParenExpr) { in DECL_VISIT_EXPR() argument
/external/v8/tools/gcmole/
Dgcmole.cc582 VISIT(ParenExpr); in VisitExpr()
739 DECL_VISIT_EXPR(ParenExpr) { in DECL_VISIT_EXPR() argument
/external/clang/lib/CodeGen/
DCGExprCXX.cpp69 if (const ParenExpr *PE = dyn_cast<ParenExpr>(E)) { in skipNoOpCastsAndParens()
DCGClass.cpp2030 if (const ParenExpr *PE = dyn_cast<ParenExpr>(E)) { in skipNoOpCastsAndParens()
DCGExprComplex.cpp102 ComplexPairTy VisitParenExpr(ParenExpr *PE) { return Visit(PE->getSubExpr());} in VisitParenExpr()
DCGExpr.cpp794 return EmitLValue(cast<ParenExpr>(E)->getSubExpr()); in EmitLValue()
1613 if (const ParenExpr *Exp = dyn_cast<ParenExpr>(E)) { in setObjCGCLValueClass()
/external/clang/include/clang/AST/
DExpr.h1586 class ParenExpr : public Expr {
1590 ParenExpr(SourceLocation l, SourceLocation r, Expr *val) in ParenExpr() function
1599 explicit ParenExpr(EmptyShell Empty) in ParenExpr() function

12