/external/clang/include/clang/AST/ |
D | ExprOpenMP.h | 47 Stmt *SubExprs[END_EXPR]; variable 70 SubExprs[BASE] = Base; in OMPArraySectionExpr() 71 SubExprs[LOWER_BOUND] = LowerBound; in OMPArraySectionExpr() 72 SubExprs[LENGTH] = Length; in OMPArraySectionExpr() 82 Expr *getBase() { return cast<Expr>(SubExprs[BASE]); } in getBase() 83 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE]); } in getBase() 85 void setBase(Expr *E) { SubExprs[BASE] = E; } in setBase() 91 Expr *getLowerBound() { return cast_or_null<Expr>(SubExprs[LOWER_BOUND]); } in getLowerBound() 93 return cast_or_null<Expr>(SubExprs[LOWER_BOUND]); in getLowerBound() 96 void setLowerBound(Expr *E) { SubExprs[LOWER_BOUND] = E; } in setLowerBound() [all …]
|
D | StmtCXX.h | 133 Stmt *SubExprs[END]; variable 154 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); } in getRangeStmt() 156 return cast_or_null<DeclStmt>(SubExprs[BEGINEND]); in getBeginEndStmt() 158 Expr *getCond() { return cast_or_null<Expr>(SubExprs[COND]); } in getCond() 159 Expr *getInc() { return cast_or_null<Expr>(SubExprs[INC]); } in getInc() 160 DeclStmt *getLoopVarStmt() { return cast<DeclStmt>(SubExprs[LOOPVAR]); } in getLoopVarStmt() 161 Stmt *getBody() { return SubExprs[BODY]; } in getBody() 164 return cast<DeclStmt>(SubExprs[RANGE]); in getRangeStmt() 167 return cast_or_null<DeclStmt>(SubExprs[BEGINEND]); in getBeginEndStmt() 170 return cast_or_null<Expr>(SubExprs[COND]); in getCond() [all …]
|
D | Stmt.h | 680 Stmt* SubExprs[END_EXPR]; // The expression for the RHS is Non-null for variable 686 SubExprs[SUBSTMT] = nullptr; in CaseStmt() 687 SubExprs[LHS] = reinterpret_cast<Stmt*>(lhs); in CaseStmt() 688 SubExprs[RHS] = reinterpret_cast<Stmt*>(rhs); in CaseStmt() 702 Expr *getLHS() { return reinterpret_cast<Expr*>(SubExprs[LHS]); } in getLHS() 703 Expr *getRHS() { return reinterpret_cast<Expr*>(SubExprs[RHS]); } in getRHS() 704 Stmt *getSubStmt() { return SubExprs[SUBSTMT]; } in getSubStmt() 707 return reinterpret_cast<const Expr*>(SubExprs[LHS]); in getLHS() 710 return reinterpret_cast<const Expr*>(SubExprs[RHS]); in getRHS() 712 const Stmt *getSubStmt() const { return SubExprs[SUBSTMT]; } in getSubStmt() [all …]
|
D | StmtObjC.h | 26 Stmt* SubExprs[END_EXPR]; // SubExprs[ELEM] is an expression or declstmt. variable 35 Stmt *getElement() { return SubExprs[ELEM]; } in getElement() 37 return reinterpret_cast<Expr*>(SubExprs[COLLECTION]); in getCollection() 39 Stmt *getBody() { return SubExprs[BODY]; } in getBody() 41 const Stmt *getElement() const { return SubExprs[ELEM]; } in getElement() 43 return reinterpret_cast<Expr*>(SubExprs[COLLECTION]); in getCollection() 45 const Stmt *getBody() const { return SubExprs[BODY]; } in getBody() 47 void setElement(Stmt *S) { SubExprs[ELEM] = S; } in setElement() 49 SubExprs[COLLECTION] = reinterpret_cast<Stmt*>(E); in setCollection() 51 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() [all …]
|
D | Expr.h | 2106 Stmt* SubExprs[END_EXPR]; variable 2120 SubExprs[LHS] = lhs; in ArraySubscriptExpr() 2121 SubExprs[RHS] = rhs; in ArraySubscriptExpr() 2137 Expr *getLHS() { return cast<Expr>(SubExprs[LHS]); } in getLHS() 2138 const Expr *getLHS() const { return cast<Expr>(SubExprs[LHS]); } in getLHS() 2139 void setLHS(Expr *E) { SubExprs[LHS] = E; } in setLHS() 2141 Expr *getRHS() { return cast<Expr>(SubExprs[RHS]); } in getRHS() 2142 const Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); } in getRHS() 2143 void setRHS(Expr *E) { SubExprs[RHS] = E; } in setRHS() 2179 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children() [all …]
|
D | ExprCXX.h | 694 Stmt *SubExprs[NUM_SUBEXPRS]; variable 697 void setBase(Expr *Base) { SubExprs[BASE_EXPR] = Base; } in setBase() 698 void setIdx(Expr *Idx) { SubExprs[IDX_EXPR] = Idx; } in setIdx() 707 SubExprs[BASE_EXPR] = Base; in MSPropertySubscriptExpr() 708 SubExprs[IDX_EXPR] = Idx; in MSPropertySubscriptExpr() 715 Expr *getBase() { return cast<Expr>(SubExprs[BASE_EXPR]); } in getBase() 716 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE_EXPR]); } in getBase() 718 Expr *getIdx() { return cast<Expr>(SubExprs[IDX_EXPR]); } in getIdx() 719 const Expr *getIdx() const { return cast<Expr>(SubExprs[IDX_EXPR]); } in getIdx() 739 return child_range(&SubExprs[0], &SubExprs[0] + NUM_SUBEXPRS); in children() [all …]
|
D | ExprObjC.h | 772 Stmt* SubExprs[END_EXPR]; 795 {SubExprs[BASE] = base; SubExprs[KEY] = key;} 811 return SubExprs[BASE]->getLocStart(); 819 Expr *getBaseExpr() const { return cast<Expr>(SubExprs[BASE]); } 820 void setBaseExpr(Stmt *S) { SubExprs[BASE] = S; } 822 Expr *getKeyExpr() const { return cast<Expr>(SubExprs[KEY]); } 823 void setKeyExpr(Stmt *S) { SubExprs[KEY] = S; } 838 return child_range(SubExprs, SubExprs+END_EXPR);
|
/external/clang/lib/AST/ |
D | StmtCXX.cpp | 59 SubExprs[RANGE] = Range; in CXXForRangeStmt() 60 SubExprs[BEGINEND] = BeginEndStmt; in CXXForRangeStmt() 61 SubExprs[COND] = Cond; in CXXForRangeStmt() 62 SubExprs[INC] = Inc; in CXXForRangeStmt() 63 SubExprs[LOOPVAR] = LoopVar; in CXXForRangeStmt() 64 SubExprs[BODY] = Body; in CXXForRangeStmt()
|
D | Stmt.cpp | 764 SubExprs[COND] = cond; in IfStmt() 765 SubExprs[THEN] = then; in IfStmt() 766 SubExprs[ELSE] = elsev; in IfStmt() 770 if (!SubExprs[VAR]) in getConditionVariable() 773 DeclStmt *DS = cast<DeclStmt>(SubExprs[VAR]); in getConditionVariable() 779 SubExprs[VAR] = nullptr; in setConditionVariable() 784 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable() 793 SubExprs[INIT] = Init; in ForStmt() 795 SubExprs[COND] = Cond; in ForStmt() 796 SubExprs[INC] = Inc; in ForStmt() [all …]
|
D | StmtObjC.cpp | 25 SubExprs[ELEM] = Elem; in ObjCForCollectionStmt() 26 SubExprs[COLLECTION] = Collect; in ObjCForCollectionStmt() 27 SubExprs[BODY] = Body; in ObjCForCollectionStmt()
|
D | Expr.cpp | 1162 SubExprs = new (C) Stmt*[args.size()+PREARGS_START+NumPreArgs]; in CallExpr() 1163 SubExprs[FN] = fn; in CallExpr() 1174 SubExprs[i+PREARGS_START+NumPreArgs] = args[i]; in CallExpr() 1191 : Expr(SC, Empty), SubExprs(nullptr), NumArgs(0) { in CallExpr() 1193 SubExprs = new (C) Stmt*[PREARGS_START+NumPreArgs]; in CallExpr() 1243 NewSubExprs[i] = SubExprs[i]; in setNumArgs() 1249 if (SubExprs) C.Deallocate(SubExprs); in setNumArgs() 1250 SubExprs = NewSubExprs; in setNumArgs() 3574 SubExprs = new (C) Stmt*[args.size()]; in ShuffleVectorExpr() 3585 SubExprs[i] = args[i]; in ShuffleVectorExpr() [all …]
|
D | ExprCXX.cpp | 149 SubExprs(nullptr), OperatorNew(operatorNew), OperatorDelete(operatorDelete), in CXXNewExpr() 166 SubExprs[i++] = arraySize; in CXXNewExpr() 176 SubExprs[i++] = initializer; in CXXNewExpr() 185 SubExprs[i++] = placementArgs[j]; in CXXNewExpr() 202 assert(SubExprs == nullptr && "SubExprs already allocated"); in AllocateArgsArray() 207 SubExprs = new (C) Stmt*[TotalSize]; in AllocateArgsArray()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 693 E->SubExprs[ConditionalOperator::COND] = Reader.ReadSubExpr(); in VisitConditionalOperator() 694 E->SubExprs[ConditionalOperator::LHS] = Reader.ReadSubExpr(); in VisitConditionalOperator() 695 E->SubExprs[ConditionalOperator::RHS] = Reader.ReadSubExpr(); in VisitConditionalOperator() 704 E->SubExprs[BinaryConditionalOperator::COMMON] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator() 705 E->SubExprs[BinaryConditionalOperator::COND] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator() 706 E->SubExprs[BinaryConditionalOperator::LHS] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator() 707 E->SubExprs[BinaryConditionalOperator::RHS] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator() 913 E->SubExprs = in VisitGenericSelectionExpr() 916 E->SubExprs[GenericSelectionExpr::CONTROLLING] = Reader.ReadSubExpr(); in VisitGenericSelectionExpr() 919 E->SubExprs[GenericSelectionExpr::END_EXPR+I] = Reader.ReadSubExpr(); in VisitGenericSelectionExpr() [all …]
|
D | ASTWriterStmt.cpp | 1639 Writer.AddStmt(E->SubExprs[0]); in VisitCXXFoldExpr() 1640 Writer.AddStmt(E->SubExprs[1]); in VisitCXXFoldExpr()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 1832 SmallVector<Expr*, 5> SubExprs; in SemaAtomicOpsOverloaded() local 1833 SubExprs.push_back(Ptr); in SemaAtomicOpsOverloaded() 1837 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded() 1840 SubExprs.push_back(TheCall->getArg(1)); // Order in SemaAtomicOpsOverloaded() 1845 SubExprs.push_back(TheCall->getArg(2)); // Order in SemaAtomicOpsOverloaded() 1846 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded() 1850 SubExprs.push_back(TheCall->getArg(3)); // Order in SemaAtomicOpsOverloaded() 1851 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded() 1852 SubExprs.push_back(TheCall->getArg(2)); // Val2 in SemaAtomicOpsOverloaded() 1855 SubExprs.push_back(TheCall->getArg(3)); // Order in SemaAtomicOpsOverloaded() [all …]
|
D | TreeTransform.h | 2218 MultiExprArg SubExprs, in RebuildParenListExpr() argument 2220 return getSema().ActOnParenListExpr(LParenLoc, RParenLoc, SubExprs); in RebuildParenListExpr() 2912 MultiExprArg SubExprs, in RebuildShuffleVectorExpr() argument 2932 SemaRef.Context, Callee, SubExprs, Builtin->getCallResultType(), in RebuildShuffleVectorExpr() 3031 MultiExprArg SubExprs, in RebuildAtomicExpr() argument 3038 return new (SemaRef.Context) AtomicExpr(BuiltinLoc, SubExprs, RetTy, Op, in RebuildAtomicExpr() 10963 SmallVector<Expr*, 8> SubExprs; in TransformShuffleVectorExpr() local 10964 SubExprs.reserve(E->getNumSubExprs()); in TransformShuffleVectorExpr() 10966 SubExprs, &ArgumentChanged)) in TransformShuffleVectorExpr() 10974 SubExprs, in TransformShuffleVectorExpr() [all …]
|