Home
last modified time | relevance | path

Searched refs:InitListExpr (Results 1 – 25 of 52) sorted by relevance

123

/external/clang/lib/Sema/
DSemaInit.cpp242 llvm::DenseMap<InitListExpr *, InitListExpr *> SyntacticToSemantic;
243 InitListExpr *FullyStructuredList;
246 InitListExpr *ParentIList, QualType T,
247 unsigned &Index, InitListExpr *StructuredList,
250 InitListExpr *IList, QualType &T,
251 InitListExpr *StructuredList,
254 InitListExpr *IList, QualType &DeclType,
257 InitListExpr *StructuredList,
261 InitListExpr *IList, QualType ElemType,
263 InitListExpr *StructuredList,
[all …]
DSemaTemplateDeduction.cpp3205 QualType AdjustedParamType, InitListExpr *ILE, in DeduceFromInitializerList()
3282 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Arg)) { in DeduceTemplateArgumentByListElement()
3407 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Arg)) { in DeduceTemplateArguments()
3470 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Arg)) { in DeduceTemplateArguments()
4007 if (isa<InitListExpr>(Init)) { in DeduceAutoType()
4022 if (isa<InitListExpr>(Init)) { in DeduceAutoType()
4054 InitListExpr *InitList = dyn_cast<InitListExpr>(Init); in DeduceAutoType()
4119 if (isa<InitListExpr>(Init)) in DiagnoseAutoDeductionFailure()
DSemaExprCXX.cpp1253 assert((!ListInitialization || (Exprs.size() == 1 && isa<InitListExpr>(Exprs[0]))) in BuildCXXTypeConstructExpr()
1491 assert(isa<InitListExpr>(Init) && in isLegalArrayNewInitializer()
1517 } else if (Initializer && isa<InitListExpr>(Initializer)) in BuildCXXNew()
1540 (NumInits == 1 && isa<InitListExpr>(Inits[0]))) in BuildCXXNew()
1810 if (InitListExpr *ILE = dyn_cast_or_null<InitListExpr>(Initializer)) { in BuildCXXNew()
2688 if (const InitListExpr *ILE = dyn_cast<const InitListExpr>(E)) { in getNewExprFromInitListOrExpr()
DSemaStmt.cpp1866 if ((!isa<InitListExpr>(Init) && Init->getType()->isVoidType()) || in FinishForRangeVarDecl()
2899 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt()
2958 if (RetValExp && !isa<InitListExpr>(RetValExp) && in ActOnCapScopeReturnStmt()
3068 if (RetExpr && isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
3243 if (isa<InitListExpr>(RetValExp)) { in BuildReturnStmt()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp49 InitListExpr *Updater);
51 InitListExpr *ILE);
75 bool Build(InitListExpr *ILE);
77 InitListExpr *Updater);
365 bool ConstStructBuilder::Build(InitListExpr *ILE) { in Build()
565 InitListExpr *Updater) { in BuildStruct()
574 InitListExpr *ILE) { in BuildStruct()
777 llvm::Constant *EmitArrayInitialization(InitListExpr *ILE) { in EmitArrayInitialization()
836 llvm::Constant *EmitRecordInitialization(InitListExpr *ILE) { in EmitRecordInitialization()
844 llvm::Constant *VisitInitListExpr(InitListExpr *ILE) { in VisitInitListExpr()
[all …]
DCGExprAgg.cpp88 QualType elementType, InitListExpr *E);
166 void VisitInitListExpr(InitListExpr *E);
387 if (auto *ILE = dyn_cast<InitListExpr>(E)) { in isTrivialFiller()
403 QualType elementType, InitListExpr *E) { in EmitArrayInit()
1129 void AggExprEmitter::VisitInitListExpr(InitListExpr *E) { in VisitInitListExpr()
1342 const InitListExpr *ILE = dyn_cast<InitListExpr>(E); in GetNumNonZeroBytesInInit()
DCGExprCXX.cpp855 if (const InitListExpr *ILE = dyn_cast<InitListExpr>(Init)) { in EmitNewArrayInitializer()
911 auto *SubILE = dyn_cast<InitListExpr>(Init); in EmitNewArrayInitializer()
1009 if (auto *ILE = dyn_cast<InitListExpr>(Init)) in EmitNewArrayInitializer()
1015 if (auto *ILE = dyn_cast<InitListExpr>(Init)) { in EmitNewArrayInitializer()
1326 if (const InitListExpr *ILE = dyn_cast<InitListExpr>(E->getInitializer())) in EmitCXXNewExpr()
DCGExprComplex.cpp285 ComplexPairTy VisitInitListExpr(InitListExpr *E);
998 ComplexPairTy ComplexExprEmitter::VisitInitListExpr(InitListExpr *E) { in VisitInitListExpr()
/external/clang/lib/Index/
DIndexBody.cpp295 bool TraverseInitListExpr(InitListExpr *S, DataRecursionQueue *Q = nullptr) { in TraverseInitListExpr()
321 auto visitForm = [&](InitListExpr *Form) { in TraverseInitListExpr()
329 InitListExpr *SemaForm = S->isSemanticForm() ? S : S->getSemanticForm(); in TraverseInitListExpr()
330 InitListExpr *SyntaxForm = S->isSemanticForm() ? S->getSyntacticForm() : S; in TraverseInitListExpr()
/external/clang/unittests/AST/
DSourceLocationTest.cpp186 TEST(InitListExpr, VectorLiteralListBraceRange) { in TEST() argument
187 RangeVerifier<InitListExpr> Verifier; in TEST()
194 TEST(InitListExpr, VectorLiteralInitListParens) { in TEST() argument
195 RangeVerifier<InitListExpr> Verifier; in TEST()
/external/clang/lib/StaticAnalyzer/Checkers/
DNonNullParamChecker.cpp128 if (const InitListExpr *IE = in checkPreCall()
129 dyn_cast<InitListExpr>(CE->getInitializer())) in checkPreCall()
/external/clang/lib/AST/
DExpr.cpp1766 InitListExpr::InitListExpr(const ASTContext &C, SourceLocation lbraceloc, in InitListExpr() function in InitListExpr
1788 void InitListExpr::reserveInits(const ASTContext &C, unsigned NumInits) { in reserveInits()
1793 void InitListExpr::resizeInits(const ASTContext &C, unsigned NumInits) { in resizeInits()
1797 Expr *InitListExpr::updateInit(const ASTContext &C, unsigned Init, Expr *expr) { in updateInit()
1809 void InitListExpr::setArrayFiller(Expr *filler) { in setArrayFiller()
1819 bool InitListExpr::isStringLiteralInit() const { in isStringLiteralInit()
1833 SourceLocation InitListExpr::getLocStart() const { in getLocStart()
1834 if (InitListExpr *SyntacticForm = getSyntacticForm()) in getLocStart()
1851 SourceLocation InitListExpr::getLocEnd() const { in getLocEnd()
1852 if (InitListExpr *SyntacticForm = getSyntacticForm()) in getLocEnd()
[all …]
DExprClassification.cpp400 assert(cast<InitListExpr>(E)->getNumInits() == 1 && in ClassifyInternal()
402 return ClassifyInternal(Ctx, cast<InitListExpr>(E)->getInit(0)); in ClassifyInternal()
DItaniumMangle.cpp542 void mangleInitListElements(const InitListExpr *InitList);
3164 void CXXNameMangler::mangleInitListElements(const InitListExpr *InitList) { in mangleInitListElements()
3298 mangleInitListElements(cast<InitListExpr>(E)); in mangleExpression()
3379 isa<InitListExpr>(Init)) { in mangleExpression()
3381 mangleInitListElements(cast<InitListExpr>(Init)); in mangleExpression()
3504 auto *ILE = cast<InitListExpr>(SILE->getSubExpr()->IgnoreImplicit()); in mangleExpression()
3682 if (auto *IL = dyn_cast<InitListExpr>(Sub)) { in mangleExpression()
DExprConstant.cpp4436 bool VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5433 bool VisitInitListExpr(const InitListExpr *E);
5553 bool RecordExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5805 bool VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5855 bool VisitInitListExpr(const InitListExpr *E);
5939 VectorExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
6048 bool VisitInitListExpr(const InitListExpr *E);
6062 bool ArrayExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
8451 bool VisitInitListExpr(const InitListExpr *E);
8894 bool ComplexExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
[all …]
/external/clang/include/clang/Sema/
DInitialization.h752 InitListExpr *WrappingSyntacticList;
1102 void RewrapReferenceInitList(QualType T, InitListExpr *Syntactic);
/external/clang/include/clang/AST/
DExpr.h3746 class InitListExpr : public Expr {
3757 llvm::PointerIntPair<InitListExpr *, 1, bool> AltForm;
3769 InitListExpr(const ASTContext &C, SourceLocation lbraceloc,
3773 explicit InitListExpr(EmptyShell Empty) in InitListExpr() function
3835 return const_cast<InitListExpr *>(this)->getArrayFiller(); in getArrayFiller()
3853 return const_cast<InitListExpr *>(this)->getInitializedFieldInUnion(); in getInitializedFieldInUnion()
3879 InitListExpr *getSemanticForm() const { in getSemanticForm()
3882 InitListExpr *getSyntacticForm() const { in getSyntacticForm()
3886 void setSyntacticForm(InitListExpr *Init) { in setSyntacticForm()
4295 InitListExpr *getUpdater() const { in getUpdater()
[all …]
DRecursiveASTVisitor.h284 bool TraverseSynOrSemInitListExpr(InitListExpr *S,
2125 InitListExpr *S, DataRecursionQueue *Queue) {
2146 DEF_TRAVERSE_STMT(InitListExpr, {
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp457 assert(isa<InitListExpr>(Init)); in VisitCompoundLiteralExpr()
621 void ExprEngine::VisitInitListExpr(const InitListExpr *IE, in VisitInitListExpr()
644 for (InitListExpr::const_reverse_iterator it = IE->rbegin(), in VisitInitListExpr()
/external/clang/include/clang/Basic/
DStmtNodes.td83 def InitListExpr : DStmt<Expr>;
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h384 void VisitInitListExpr(const InitListExpr *E, ExplodedNode *Pred,
/external/v8/tools/gcmole/
Dgcmole.cc602 VISIT(InitListExpr); in VisitExpr()
743 DECL_VISIT_EXPR(InitListExpr) { in DECL_VISIT_EXPR() argument
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc1128 if (auto I = dyn_cast_or_null<InitListExpr>(Decl->getInit())) { in VisitVarDecl()
1136 if (auto I = dyn_cast_or_null<InitListExpr>(Decl->getInit())) { in VisitVarDecl()
/external/libcxxabi/src/demangle/
DItaniumDemangle.h91 X(InitListExpr) \
1744 class InitListExpr : public Node {
1748 InitListExpr(const Node *Ty_, NodeArray Inits_) in InitListExpr() function
4366 return make<InitListExpr>(nullptr, popTrailingNodeArray(InitsBegin)); in parseExpr()
4616 return make<InitListExpr>(Ty, popTrailingNodeArray(InitsBegin)); in parseExpr()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1086 const internal::VariadicDynCastAllOfMatcher<Stmt, InitListExpr> initListExpr;
1090 AST_MATCHER_P(InitListExpr, hasSyntacticForm, in AST_MATCHER_P() argument

123