Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseInit.cpp398 ExprVector InitExprs; in ParseBraceInitializer() local
414 if (ParseMicrosoftIfExistsBraceInitializer(InitExprs, InitExprsOk)) { in ParseBraceInitializer()
439 InitExprs.push_back(SubElt.get()); in ParseBraceInitializer()
470 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
479 bool Parser::ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs, in ParseMicrosoftIfExistsBraceInitializer() argument
522 InitExprs.push_back(SubElt.get()); in ParseMicrosoftIfExistsBraceInitializer()
/external/clang/include/clang/AST/
DExpr.h3749 InitExprsTy InitExprs; variable
3776 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits()
3779 Expr **getInits() { return reinterpret_cast<Expr **>(InitExprs.data()); } in getInits()
3787 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3792 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3797 InitExprs[Init] = expr; in setInit()
3910 if (InitExprs.empty()) in children()
3912 return child_range(&InitExprs[0], &InitExprs[0] + InitExprs.size()); in children()
3920 iterator begin() { return InitExprs.begin(); } in begin()
3921 const_iterator begin() const { return InitExprs.begin(); } in begin()
[all …]
/external/clang/lib/AST/
DExpr.cpp1770 InitExprs(C, initExprs.size()), in InitListExpr()
1785 InitExprs.insert(C, InitExprs.end(), initExprs.begin(), initExprs.end()); in InitListExpr()
1789 if (NumInits > InitExprs.size()) in reserveInits()
1790 InitExprs.reserve(C, NumInits); in reserveInits()
1794 InitExprs.resize(C, NumInits, nullptr); in resizeInits()
1798 if (Init >= InitExprs.size()) { in updateInit()
1799 InitExprs.insert(C, InitExprs.end(), Init - InitExprs.size() + 1, nullptr); in updateInit()
1804 Expr *Result = cast_or_null<Expr>(InitExprs[Init]); in updateInit()
1839 for (InitExprsTy::const_iterator I = InitExprs.begin(), in getLocStart()
1840 E = InitExprs.end(); in getLocStart()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2660 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2663 InitExprs.push_back( in SynthMessageExpr()
2688 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
2702 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2721 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
2756 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2758 InitExprs.push_back( in SynthMessageExpr()
2783 InitExprs.push_back( in SynthMessageExpr()
2797 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2815 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
[all …]
DRewriteModernObjC.cpp2721 SmallVector<Expr*, 16> InitExprs; in RewriteObjCArrayLiteralExpr() local
2728 InitExprs.push_back(count); in RewriteObjCArrayLiteralExpr()
2730 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
2732 new (Context) CallExpr(*Context, NSArrayDRE, InitExprs, in RewriteObjCArrayLiteralExpr()
3242 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
3245 InitExprs.push_back( in SynthMessageExpr()
3268 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
3282 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
3301 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
3339 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
[all …]
/external/clang/include/clang/Parse/
DParser.h1751 bool ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs,