Home
last modified time | relevance | path

Searched refs:InitExprs (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Parse/
DParseInit.cpp408 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/
DExpr.h3672 InitExprsTy InitExprs; variable
3699 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits()
3702 Expr **getInits() { return reinterpret_cast<Expr **>(InitExprs.data()); } in getInits()
3706 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3711 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3716 InitExprs[Init] = expr; in setInit()
3816 if (InitExprs.empty()) return child_range(); in children()
3817 return child_range(&InitExprs[0], &InitExprs[0] + InitExprs.size()); in children()
3825 iterator begin() { return InitExprs.begin(); } in begin()
3826 const_iterator begin() const { return InitExprs.begin(); } in begin()
[all …]
/external/clang/lib/AST/
DExpr.cpp1788 InitExprs(C, initExprs.size()), in InitListExpr()
1803 InitExprs.insert(C, InitExprs.end(), initExprs.begin(), initExprs.end()); in InitListExpr()
1807 if (NumInits > InitExprs.size()) in reserveInits()
1808 InitExprs.reserve(C, NumInits); in reserveInits()
1812 InitExprs.resize(C, NumInits, 0); in resizeInits()
1816 if (Init >= InitExprs.size()) { in updateInit()
1817 InitExprs.insert(C, InitExprs.end(), Init - InitExprs.size() + 1, 0); in updateInit()
1818 InitExprs.back() = expr; in updateInit()
1822 Expr *Result = cast_or_null<Expr>(InitExprs[Init]); in updateInit()
1823 InitExprs[Init] = expr; in updateInit()
[all …]
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp2703 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2706 InitExprs.push_back( in SynthMessageExpr()
2740 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
2754 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2773 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
2814 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2816 InitExprs.push_back( in SynthMessageExpr()
2848 InitExprs.push_back( in SynthMessageExpr()
2862 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2880 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
[all …]
DRewriteModernObjC.cpp2780 SmallVector<Expr*, 16> InitExprs; in RewriteObjCArrayLiteralExpr() local
2787 InitExprs.push_back(count); in RewriteObjCArrayLiteralExpr()
2789 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
2791 new (Context) CallExpr(*Context, NSArrayDRE, InitExprs, in RewriteObjCArrayLiteralExpr()
3317 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
3320 InitExprs.push_back( in SynthMessageExpr()
3351 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
3365 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
3384 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
3428 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
[all …]
/external/clang/include/clang/Parse/
DParser.h1549 bool ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs,