Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseInit.cpp390 ExprVector InitExprs; in ParseBraceInitializer() local
406 if (ParseMicrosoftIfExistsBraceInitializer(InitExprs, InitExprsOk)) { in ParseBraceInitializer()
429 InitExprs.push_back(SubElt.get()); in ParseBraceInitializer()
460 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
469 bool Parser::ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs, in ParseMicrosoftIfExistsBraceInitializer() argument
512 InitExprs.push_back(SubElt.get()); in ParseMicrosoftIfExistsBraceInitializer()
/external/clang/include/clang/AST/
DExpr.h3756 InitExprsTy InitExprs; variable
3783 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits()
3786 Expr **getInits() { return reinterpret_cast<Expr **>(InitExprs.data()); } in getInits()
3790 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3795 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3800 InitExprs[Init] = expr; in setInit()
3913 if (InitExprs.empty()) return child_range(); in children()
3914 return child_range(&InitExprs[0], &InitExprs[0] + InitExprs.size()); in children()
3922 iterator begin() { return InitExprs.begin(); } in begin()
3923 const_iterator begin() const { return InitExprs.begin(); } in begin()
[all …]
/external/clang/lib/AST/
DExpr.cpp1836 InitExprs(C, initExprs.size()), in InitListExpr()
1851 InitExprs.insert(C, InitExprs.end(), initExprs.begin(), initExprs.end()); in InitListExpr()
1855 if (NumInits > InitExprs.size()) in reserveInits()
1856 InitExprs.reserve(C, NumInits); in reserveInits()
1860 InitExprs.resize(C, NumInits, nullptr); in resizeInits()
1864 if (Init >= InitExprs.size()) { in updateInit()
1865 InitExprs.insert(C, InitExprs.end(), Init - InitExprs.size() + 1, nullptr); in updateInit()
1870 Expr *Result = cast_or_null<Expr>(InitExprs[Init]); in updateInit()
1905 for (InitExprsTy::const_iterator I = InitExprs.begin(), in getLocStart()
1906 E = InitExprs.end(); in getLocStart()
[all …]
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp2675 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2678 InitExprs.push_back( in SynthMessageExpr()
2708 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
2722 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2741 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
2778 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2780 InitExprs.push_back( in SynthMessageExpr()
2808 InitExprs.push_back( in SynthMessageExpr()
2822 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2840 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
[all …]
DRewriteModernObjC.cpp2762 SmallVector<Expr*, 16> InitExprs; in RewriteObjCArrayLiteralExpr() local
2769 InitExprs.push_back(count); in RewriteObjCArrayLiteralExpr()
2771 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
2773 new (Context) CallExpr(*Context, NSArrayDRE, InitExprs, in RewriteObjCArrayLiteralExpr()
3301 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
3304 InitExprs.push_back( in SynthMessageExpr()
3331 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
3345 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
3364 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
3404 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
[all …]
/external/clang/include/clang/Parse/
DParser.h1651 bool ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs,