Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseInit.cpp210 DesignatorCompletion.InitExprs, Desig); in ParseInitializerWithPotentialDesignator()
480 ExprVector InitExprs; in ParseBraceInitializer() local
499 DesignatorCompletionInfo DesignatorCompletion{InitExprs, LikelyType}; in ParseBraceInitializer()
506 InitExprs, T.getOpenLocation(), /*Braced=*/true); in ParseBraceInitializer()
517 if (ParseMicrosoftIfExistsBraceInitializer(InitExprs, InitExprsOk)) { in ParseBraceInitializer()
544 InitExprs.push_back(SubElt.get()); in ParseBraceInitializer()
575 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
584 bool Parser::ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs, in ParseMicrosoftIfExistsBraceInitializer() argument
614 InitExprs, in ParseMicrosoftIfExistsBraceInitializer()
632 InitExprs.push_back(SubElt.get()); in ParseMicrosoftIfExistsBraceInitializer()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5032 InitExprsTy InitExprs; variable
5059 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits()
5062 Expr **getInits() { return reinterpret_cast<Expr **>(InitExprs.data()); } in getInits()
5066 return reinterpret_cast<Expr * const *>(InitExprs.data()); in getInits()
5077 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
5082 return cast_or_null<Expr>(InitExprs[Init]); in getInit()
5087 InitExprs[Init] = expr; in setInit()
5229 if (InitExprs.empty()) in children()
5231 return const_child_range(&InitExprs[0], &InitExprs[0] + InitExprs.size()); in children()
5239 iterator begin() { return InitExprs.begin(); } in begin()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp1637 Expr *ExprToVisit, ArrayRef<Expr *> InitExprs, in VisitCXXParenListOrInitListExpr() argument
1664 InitExprs, ArrayFiller); in VisitCXXParenListOrInitListExpr()
1670 assert(InitExprs.size() == 0 && in VisitCXXParenListOrInitListExpr()
1683 unsigned NumInitElements = InitExprs.size(); in VisitCXXParenListOrInitListExpr()
1709 CGF.EmitAggExpr(InitExprs[curInitIndex++], AggSlot); in VisitCXXParenListOrInitListExpr()
1743 EmitInitializationToLValue(InitExprs[0], FieldLoc); in VisitCXXParenListOrInitListExpr()
1777 EmitInitializationToLValue(InitExprs[curInitIndex++], LV); in VisitCXXParenListOrInitListExpr()
H A DCGExprCXX.cpp1093 ArrayRef<const Expr *> InitExprs = in EmitNewArrayInitializer() local
1095 InitListElements = InitExprs.size(); in EmitNewArrayInitializer()
1130 for (const Expr *IE : InitExprs) { in EmitNewArrayInitializer()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaCodeCompletion.h151 llvm::ArrayRef<Expr *> InitExprs,
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2725 SmallVector<Expr*, 16> InitExprs; in RewriteObjCArrayLiteralExpr() local
2732 InitExprs.push_back(count); in RewriteObjCArrayLiteralExpr()
2734 InitExprs.push_back(Exp->getElement(i)); in RewriteObjCArrayLiteralExpr()
2736 CallExpr::Create(*Context, NSArrayDRE, InitExprs, NSArrayFType, VK_LValue, in RewriteObjCArrayLiteralExpr()
3242 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
3245 InitExprs.push_back(NoTypeInfoCStyleCastExpr( in SynthMessageExpr()
3264 InitExprs.push_back( // set 'super class', using class_getSuperclass(). in SynthMessageExpr()
3279 CallExpr::Create(*Context, DRE, InitExprs, superType, VK_LValue, in SynthMessageExpr()
3297 new (Context) InitListExpr(*Context, SourceLocation(), InitExprs, in SynthMessageExpr()
3335 SmallVector<Expr*, 4> InitExprs; in SynthMessageExpr() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp2390 InitExprs(C, initExprs.size()), LBraceLoc(lbraceloc), in InitListExpr()
2393 InitExprs.insert(C, InitExprs.end(), initExprs.begin(), initExprs.end()); in InitListExpr()
2399 if (NumInits > InitExprs.size()) in reserveInits()
2400 InitExprs.reserve(C, NumInits); in reserveInits()
2404 InitExprs.resize(C, NumInits, nullptr); in resizeInits()
2408 if (Init >= InitExprs.size()) { in updateInit()
2409 InitExprs.insert(C, InitExprs.end(), Init - InitExprs.size() + 1, nullptr); in updateInit()
2414 Expr *Result = cast_or_null<Expr>(InitExprs[Init]); in updateInit()
2483 for (InitExprsTy::const_iterator I = InitExprs.begin(), in getBeginLoc()
2484 E = InitExprs.end(); in getBeginLoc()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2125 SmallVectorImpl<Expr *> &InitExprs; member
2249 bool ParseMicrosoftIfExistsBraceInitializer(ExprVector &InitExprs,
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp2256 ArrayRef<Expr *> InitExprs = E->getInitExprs(); in VisitCXXParenListInitExpr() local
2257 Record.push_back(InitExprs.size()); in VisitCXXParenListInitExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp5563 SmallVector<Expr *, 4> InitExprs; in TryOrBuildParenListInitialization() local
5595 InitExprs.push_back(ER.get()); in TryOrBuildParenListInitialization()
5750 InitExprs.push_back(DIE.get()); in TryOrBuildParenListInitialization()
5798 S.getASTContext(), InitExprs, ResultType, Args.size(), in TryOrBuildParenListInitialization()
H A DTreeTransform.h15387 ArrayRef<Expr *> InitExprs = E->getInitExprs(); in TransformCXXParenListInitExpr() local
15388 if (TransformExprs(InitExprs.data(), InitExprs.size(), true, in TransformCXXParenListInitExpr()
H A DSemaCodeComplete.cpp6576 QualType BaseType, llvm::ArrayRef<Expr *> InitExprs, const Designation &D) { in CodeCompleteDesignator() argument