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()
431 InitExprs.push_back(SubElt.get()); in ParseBraceInitializer()
462 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
471 bool Parser::ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs, in ParseMicrosoftIfExistsBraceInitializer() argument
514 InitExprs.push_back(SubElt.get()); in ParseMicrosoftIfExistsBraceInitializer()
/external/clang/include/clang/AST/
DExpr.h3760 InitExprsTy InitExprs; variable
3787 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits()
3790 Expr **getInits() { return reinterpret_cast<Expr **>(InitExprs.data()); } in getInits()
3794 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3799 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3804 InitExprs[Init] = expr; in setInit()
3917 if (InitExprs.empty()) return child_range(); in children()
3918 return child_range(&InitExprs[0], &InitExprs[0] + InitExprs.size()); in children()
3926 iterator begin() { return InitExprs.begin(); } in begin()
3927 const_iterator begin() const { return InitExprs.begin(); } in begin()
[all …]
/external/clang/lib/AST/
DExpr.cpp1886 InitExprs(C, initExprs.size()), in InitListExpr()
1901 InitExprs.insert(C, InitExprs.end(), initExprs.begin(), initExprs.end()); in InitListExpr()
1905 if (NumInits > InitExprs.size()) in reserveInits()
1906 InitExprs.reserve(C, NumInits); in reserveInits()
1910 InitExprs.resize(C, NumInits, nullptr); in resizeInits()
1914 if (Init >= InitExprs.size()) { in updateInit()
1915 InitExprs.insert(C, InitExprs.end(), Init - InitExprs.size() + 1, nullptr); in updateInit()
1920 Expr *Result = cast_or_null<Expr>(InitExprs[Init]); in updateInit()
1955 for (InitExprsTy::const_iterator I = InitExprs.begin(), in getLocStart()
1956 E = InitExprs.end(); in getLocStart()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2666 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2669 InitExprs.push_back( in SynthMessageExpr()
2699 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
2713 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2732 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
2769 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2771 InitExprs.push_back( in SynthMessageExpr()
2799 InitExprs.push_back( in SynthMessageExpr()
2813 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2831 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
[all …]
DRewriteModernObjC.cpp2750 SmallVector<Expr*, 16> InitExprs; in RewriteObjCArrayLiteralExpr() local
2757 InitExprs.push_back(count); in RewriteObjCArrayLiteralExpr()
2759 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
2761 new (Context) CallExpr(*Context, NSArrayDRE, InitExprs, in RewriteObjCArrayLiteralExpr()
3283 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
3286 InitExprs.push_back( in SynthMessageExpr()
3313 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
3327 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
3346 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
3386 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
[all …]
/external/clang/include/clang/Parse/
DParser.h1643 bool ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs,