Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseInit.cpp404 ExprVector InitExprs; in ParseBraceInitializer() local
420 if (ParseMicrosoftIfExistsBraceInitializer(InitExprs, InitExprsOk)) { in ParseBraceInitializer()
445 InitExprs.push_back(SubElt.get()); in ParseBraceInitializer()
476 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
485 bool Parser::ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs, in ParseMicrosoftIfExistsBraceInitializer() argument
528 InitExprs.push_back(SubElt.get()); in ParseMicrosoftIfExistsBraceInitializer()
/external/clang/include/clang/AST/
DExpr.h3815 InitExprsTy InitExprs; variable
3842 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits()
3845 Expr **getInits() { return reinterpret_cast<Expr **>(InitExprs.data()); } in getInits()
3853 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3858 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
3863 InitExprs[Init] = expr; in setInit()
3976 if (InitExprs.empty()) in children()
3978 return child_range(&InitExprs[0], &InitExprs[0] + InitExprs.size()); in children()
3986 iterator begin() { return InitExprs.begin(); } in begin()
3987 const_iterator begin() const { return InitExprs.begin(); } in begin()
[all …]
/external/clang/lib/AST/
DExpr.cpp1923 InitExprs(C, initExprs.size()), in InitListExpr()
1938 InitExprs.insert(C, InitExprs.end(), initExprs.begin(), initExprs.end()); in InitListExpr()
1942 if (NumInits > InitExprs.size()) in reserveInits()
1943 InitExprs.reserve(C, NumInits); in reserveInits()
1947 InitExprs.resize(C, NumInits, nullptr); in resizeInits()
1951 if (Init >= InitExprs.size()) { in updateInit()
1952 InitExprs.insert(C, InitExprs.end(), Init - InitExprs.size() + 1, nullptr); in updateInit()
1957 Expr *Result = cast_or_null<Expr>(InitExprs[Init]); in updateInit()
1992 for (InitExprsTy::const_iterator I = InitExprs.begin(), in getLocStart()
1993 E = InitExprs.end(); in getLocStart()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2667 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2670 InitExprs.push_back( in SynthMessageExpr()
2695 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
2709 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2728 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
2763 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
2765 InitExprs.push_back( in SynthMessageExpr()
2790 InitExprs.push_back( in SynthMessageExpr()
2804 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
2822 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
[all …]
DRewriteModernObjC.cpp2748 SmallVector<Expr*, 16> InitExprs; in RewriteObjCArrayLiteralExpr() local
2755 InitExprs.push_back(count); in RewriteObjCArrayLiteralExpr()
2757 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
2759 new (Context) CallExpr(*Context, NSArrayDRE, InitExprs, in RewriteObjCArrayLiteralExpr()
3275 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
3278 InitExprs.push_back( in SynthMessageExpr()
3301 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
3315 SuperRep = new (Context) CallExpr(*Context, DRE, InitExprs, in SynthMessageExpr()
3334 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
3372 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
[all …]
/external/clang/include/clang/Parse/
DParser.h1718 bool ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs,