Searched refs:InitExprs (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/Parse/ |
D | ParseInit.cpp | 408 ExprVector InitExprs; in ParseBraceInitializer() local 424 if (ParseMicrosoftIfExistsBraceInitializer(InitExprs, InitExprsOk)) { in ParseBraceInitializer() 447 InitExprs.push_back(SubElt.release()); in ParseBraceInitializer() 478 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer() 487 bool Parser::ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs, in ParseMicrosoftIfExistsBraceInitializer() argument 530 InitExprs.push_back(SubElt.release()); in ParseMicrosoftIfExistsBraceInitializer()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 3510 InitExprsTy InitExprs; variable 3532 : Expr(InitListExprClass, Empty), InitExprs(C) { } in InitListExpr() 3534 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits() 3537 Expr **getInits() { return reinterpret_cast<Expr **>(InitExprs.data()); } in getInits() 3541 return cast_or_null<Expr>(InitExprs[Init]); in getInit() 3546 return cast_or_null<Expr>(InitExprs[Init]); in getInit() 3551 InitExprs[Init] = expr; in setInit() 3650 if (InitExprs.empty()) return child_range(); in children() 3651 return child_range(&InitExprs[0], &InitExprs[0] + InitExprs.size()); in children() 3659 iterator begin() { return InitExprs.begin(); } in begin() [all …]
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1678 InitExprs(C, initExprs.size()), in InitListExpr() 1694 InitExprs.insert(C, InitExprs.end(), initExprs.begin(), initExprs.end()); in InitListExpr() 1698 if (NumInits > InitExprs.size()) in reserveInits() 1699 InitExprs.reserve(C, NumInits); in reserveInits() 1703 InitExprs.resize(C, NumInits, 0); in resizeInits() 1707 if (Init >= InitExprs.size()) { in updateInit() 1708 InitExprs.insert(C, InitExprs.end(), Init - InitExprs.size() + 1, 0); in updateInit() 1709 InitExprs.back() = expr; in updateInit() 1713 Expr *Result = cast_or_null<Expr>(InitExprs[Init]); in updateInit() 1714 InitExprs[Init] = expr; in updateInit() [all …]
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteObjC.cpp | 2717 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local 2720 InitExprs.push_back( in SynthMessageExpr() 2754 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr() 2768 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr() 2787 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr() 2828 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local 2830 InitExprs.push_back( in SynthMessageExpr() 2862 InitExprs.push_back( in SynthMessageExpr() 2876 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr() 2894 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr() [all …]
|
D | RewriteModernObjC.cpp | 2709 SmallVector<Expr*, 16> InitExprs; in RewriteObjCArrayLiteralExpr() local 2716 InitExprs.push_back(count); in RewriteObjCArrayLiteralExpr() 2718 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr() 2720 new (Context) CallExpr(*Context, NSArrayDRE, InitExprs, in RewriteObjCArrayLiteralExpr() 3219 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local 3222 InitExprs.push_back( in SynthMessageExpr() 3253 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr() 3267 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr() 3286 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr() 3330 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1500 bool ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs,
|