Home
last modified time | relevance | path

Searched refs:SubExprs (Results 1 – 13 of 13) sorted by relevance

/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DStmtCXX.h132 Stmt *SubExprs[END]; variable
152 return cast_or_null<DeclStmt>(SubExprs[BEGINEND]); in getBeginEndStmt()
157 Stmt *getBody() { return SubExprs[BODY]; } in getBody()
160 return cast<DeclStmt>(SubExprs[RANGE]); in getRangeStmt()
166 return cast_or_null<Expr>(SubExprs[COND]); in getCond()
169 return cast_or_null<Expr>(SubExprs[INC]); in getInc()
172 return cast<DeclStmt>(SubExprs[LOOPVAR]); in getLoopVarStmt()
177 void setRangeStmt(Stmt *S) { SubExprs[RANGE] = S; } in setRangeStmt()
182 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody()
194 return SubExprs[BODY]->getLocEnd(); in getLocEnd()
[all …]
H A DStmt.h743 return child_range(&SubExprs[0], &SubExprs[END_EXPR]); in children()
874 Stmt* SubExprs[END_EXPR]; variable
922 if (SubExprs[ELSE]) in getLocEnd()
931 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children()
994 SubExprs[BODY] = S; in setBody()
1018 return SubExprs[BODY] ? SubExprs[BODY]->getLocEnd() : SubExprs[COND]->getLocEnd(); in getLocEnd()
1023 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children()
1083 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children()
1101 SubExprs[BODY] = body; in DoStmt()
1131 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children()
[all …]
H A DStmtObjC.h35 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()
60 return SubExprs[BODY]->getLocEnd(); in getLocEnd()
[all …]
H A DExpr.h2150 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children()
2163 Stmt **SubExprs; variable
3079 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children()
3255 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children()
3340 return child_range(SubExprs, SubExprs + NUM_SUBEXPRS); in children()
3452 Stmt **SubExprs; variable
3503 return child_range(&SubExprs[0], &SubExprs[0]+NumExprs); in children()
3637 return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR); in children()
4381 Stmt **SubExprs; variable
4457 return child_range(SubExprs, SubExprs+END_EXPR+NumAssocs); in children()
[all …]
H A DExprCXX.h1617 Stmt **SubExprs; variable
1668 : Expr(CXXNewExprClass, Shell), SubExprs(nullptr) { } in CXXNewExpr()
1702 return Array ? cast<Expr>(SubExprs[0]) : nullptr; in getArraySize()
1705 return Array ? cast<Expr>(SubExprs[0]) : nullptr; in getArraySize()
1761 return SubExprs + Array + hasInitializer(); in placement_arg_begin()
1767 return SubExprs + Array + hasInitializer(); in placement_arg_begin()
1774 raw_arg_iterator raw_arg_begin() { return SubExprs; } in raw_arg_begin()
3840 Stmt *SubExprs[2]; variable
3854 SubExprs[0] = LHS; in CXXFoldExpr()
3855 SubExprs[1] = RHS; in CXXFoldExpr()
[all …]
H A DExprObjC.h792 Stmt* SubExprs[END_EXPR];
815 {SubExprs[BASE] = base; SubExprs[KEY] = key;}
831 return SubExprs[BASE]->getLocStart();
839 Expr *getBaseExpr() const { return cast<Expr>(SubExprs[BASE]); }
840 void setBaseExpr(Stmt *S) { SubExprs[BASE] = S; }
842 Expr *getKeyExpr() const { return cast<Expr>(SubExprs[KEY]); }
843 void setKeyExpr(Stmt *S) { SubExprs[KEY] = S; }
858 return child_range(SubExprs, SubExprs+END_EXPR);
/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DStmt.cpp765 SubExprs[ELEM] = Elem; in ObjCForCollectionStmt()
767 SubExprs[BODY] = Body; in ObjCForCollectionStmt()
849 SubExprs[COND] = Cond; in CXXForRangeStmt()
850 SubExprs[INC] = Inc; in CXXForRangeStmt()
852 SubExprs[BODY] = Body; in CXXForRangeStmt()
881 SubExprs[COND] = cond; in IfStmt()
882 SubExprs[THEN] = then; in IfStmt()
887 if (!SubExprs[VAR]) in getConditionVariable()
913 SubExprs[INC] = Inc; in ForStmt()
945 if (!SubExprs[VAR]) in getConditionVariable()
[all …]
H A DExpr.cpp1126 SubExprs[FN] = fn; in CallExpr()
1154 SubExprs[FN] = fn; in CallExpr()
1165 SubExprs[i+PREARGS_START] = args[i]; in CallExpr()
1233 NewSubExprs[i] = SubExprs[i]; in setNumArgs()
1239 if (SubExprs) C.Deallocate(SubExprs); in setNumArgs()
1240 SubExprs = NewSubExprs; in setNumArgs()
3715 SubExprs = new (C) Stmt*[args.size()]; in ShuffleVectorExpr()
3726 SubExprs[i] = args[i]; in ShuffleVectorExpr()
3731 if (SubExprs) C.Deallocate(SubExprs); in setExprs()
3734 SubExprs = new (C) Stmt*[NumExprs]; in setExprs()
[all …]
H A DExprCXX.cpp149 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()
/minix/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp664 E->SubExprs[ConditionalOperator::COND] = Reader.ReadSubExpr(); in VisitConditionalOperator()
665 E->SubExprs[ConditionalOperator::LHS] = Reader.ReadSubExpr(); in VisitConditionalOperator()
666 E->SubExprs[ConditionalOperator::RHS] = Reader.ReadSubExpr(); in VisitConditionalOperator()
675 E->SubExprs[BinaryConditionalOperator::COMMON] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator()
676 E->SubExprs[BinaryConditionalOperator::COND] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator()
677 E->SubExprs[BinaryConditionalOperator::LHS] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator()
678 E->SubExprs[BinaryConditionalOperator::RHS] = Reader.ReadSubExpr(); in VisitBinaryConditionalOperator()
873 E->SubExprs = in VisitGenericSelectionExpr()
909 E->SubExprs[I] = Reader.ReadSubExpr(); in VisitAtomicExpr()
1588 E->SubExprs[0] = Reader.ReadSubExpr(); in VisitCXXFoldExpr()
[all …]
H A DASTWriterStmt.cpp1587 Writer.AddStmt(E->SubExprs[0]); in VisitCXXFoldExpr()
1588 Writer.AddStmt(E->SubExprs[1]); in VisitCXXFoldExpr()
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp1447 SmallVector<Expr*, 5> SubExprs; in SemaAtomicOpsOverloaded() local
1448 SubExprs.push_back(Ptr); in SemaAtomicOpsOverloaded()
1452 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded()
1461 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded()
1466 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded()
1467 SubExprs.push_back(TheCall->getArg(2)); // Val2 in SemaAtomicOpsOverloaded()
1471 SubExprs.push_back(TheCall->getArg(1)); // Val1 in SemaAtomicOpsOverloaded()
1473 SubExprs.push_back(TheCall->getArg(2)); // Val2 in SemaAtomicOpsOverloaded()
1484 if (SubExprs.size() >= 2 && Form != Init) { in SemaAtomicOpsOverloaded()
1488 Diag(SubExprs[1]->getLocStart(), in SemaAtomicOpsOverloaded()
[all …]
H A DTreeTransform.h2029 MultiExprArg SubExprs, in RebuildParenListExpr() argument
2701 MultiExprArg SubExprs, in RebuildShuffleVectorExpr() argument
2820 MultiExprArg SubExprs, in RebuildAtomicExpr() argument
10181 SmallVector<Expr*, 8> SubExprs; in TransformShuffleVectorExpr() local
10182 SubExprs.reserve(E->getNumSubExprs()); in TransformShuffleVectorExpr()
10184 SubExprs, &ArgumentChanged)) in TransformShuffleVectorExpr()
10192 SubExprs, in TransformShuffleVectorExpr()
10302 SmallVector<Expr*, 8> SubExprs; in TransformAtomicExpr() local
10303 SubExprs.reserve(E->getNumSubExprs()); in TransformAtomicExpr()
10305 SubExprs, &ArgumentChanged)) in TransformAtomicExpr()
[all …]