Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaInit.cpp239 llvm::DenseMap<InitListExpr *, InitListExpr *> SyntacticToSemantic;
240 InitListExpr *FullyStructuredList;
243 InitListExpr *ParentIList, QualType T,
244 unsigned &Index, InitListExpr *StructuredList,
247 InitListExpr *IList, QualType &T,
248 InitListExpr *StructuredList,
251 InitListExpr *IList, QualType &DeclType,
254 InitListExpr *StructuredList,
258 InitListExpr *IList, QualType ElemType,
260 InitListExpr *StructuredList,
[all …]
DSemaTemplateDeduction.cpp3213 QualType AdjustedParamType, InitListExpr *ILE, in DeduceFromInitializerList()
3290 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Arg)) { in DeduceTemplateArgumentByListElement()
3415 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Arg)) { in DeduceTemplateArguments()
3478 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Arg)) { in DeduceTemplateArguments()
4015 if (isa<InitListExpr>(Init)) { in DeduceAutoType()
4030 if (isa<InitListExpr>(Init)) { in DeduceAutoType()
4062 InitListExpr *InitList = dyn_cast<InitListExpr>(Init); in DeduceAutoType()
4127 if (isa<InitListExpr>(Init)) in DiagnoseAutoDeductionFailure()
DSemaExprCXX.cpp1020 assert((!ListInitialization || (Exprs.size() == 1 && isa<InitListExpr>(Exprs[0]))) in BuildCXXTypeConstructExpr()
1258 assert(isa<InitListExpr>(Init) && in isLegalArrayNewInitializer()
1284 } else if (Initializer && isa<InitListExpr>(Initializer)) in BuildCXXNew()
1307 (NumInits == 1 && isa<InitListExpr>(Inits[0]))) in BuildCXXNew()
1576 if (InitListExpr *ILE = dyn_cast_or_null<InitListExpr>(Initializer)) { in BuildCXXNew()
2463 if (const InitListExpr *ILE = dyn_cast<const InitListExpr>(E)) { in getNewExprFromInitListOrExpr()
DSemaStmt.cpp1845 if ((!isa<InitListExpr>(Init) && Init->getType()->isVoidType()) || in FinishForRangeVarDecl()
2844 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt()
2903 if (RetValExp && !isa<InitListExpr>(RetValExp) && in ActOnCapScopeReturnStmt()
3013 if (RetExpr && isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
3170 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()
559 InitListExpr *Updater) { in BuildStruct()
568 InitListExpr *ILE) { in BuildStruct()
764 llvm::Constant *EmitArrayInitialization(InitListExpr *ILE) { in EmitArrayInitialization()
823 llvm::Constant *EmitRecordInitialization(InitListExpr *ILE) { in EmitRecordInitialization()
831 llvm::Constant *VisitInitListExpr(InitListExpr *ILE) { in VisitInitListExpr()
[all …]
DCGExprAgg.cpp88 QualType elementType, InitListExpr *E);
166 void VisitInitListExpr(InitListExpr *E);
386 if (auto *ILE = dyn_cast<InitListExpr>(E)) { in isTrivialFiller()
402 QualType elementType, InitListExpr *E) { in EmitArrayInit()
1122 void AggExprEmitter::VisitInitListExpr(InitListExpr *E) { in VisitInitListExpr()
1309 const InitListExpr *ILE = dyn_cast<InitListExpr>(E); in GetNumNonZeroBytesInInit()
DCGExprCXX.cpp850 if (const InitListExpr *ILE = dyn_cast<InitListExpr>(Init)) { in EmitNewArrayInitializer()
906 auto *SubILE = dyn_cast<InitListExpr>(Init); in EmitNewArrayInitializer()
1004 if (auto *ILE = dyn_cast<InitListExpr>(Init)) in EmitNewArrayInitializer()
1010 if (auto *ILE = dyn_cast<InitListExpr>(Init)) { in EmitNewArrayInitializer()
1318 if (const InitListExpr *ILE = dyn_cast<InitListExpr>(E->getInitializer())) in EmitCXXNewExpr()
DCGExprComplex.cpp285 ComplexPairTy VisitInitListExpr(InitListExpr *E);
997 ComplexPairTy ComplexExprEmitter::VisitInitListExpr(InitListExpr *E) { in VisitInitListExpr()
DCodeGenModule.h65 class InitListExpr; variable
/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.cpp1919 InitListExpr::InitListExpr(const ASTContext &C, SourceLocation lbraceloc, in InitListExpr() function in InitListExpr
1941 void InitListExpr::reserveInits(const ASTContext &C, unsigned NumInits) { in reserveInits()
1946 void InitListExpr::resizeInits(const ASTContext &C, unsigned NumInits) { in resizeInits()
1950 Expr *InitListExpr::updateInit(const ASTContext &C, unsigned Init, Expr *expr) { in updateInit()
1962 void InitListExpr::setArrayFiller(Expr *filler) { in setArrayFiller()
1972 bool InitListExpr::isStringLiteralInit() const { in isStringLiteralInit()
1986 SourceLocation InitListExpr::getLocStart() const { in getLocStart()
1987 if (InitListExpr *SyntacticForm = getSyntacticForm()) in getLocStart()
2004 SourceLocation InitListExpr::getLocEnd() const { in getLocEnd()
2005 if (InitListExpr *SyntacticForm = getSyntacticForm()) in getLocEnd()
[all …]
DExprClassification.cpp399 assert(cast<InitListExpr>(E)->getNumInits() == 1 && in ClassifyInternal()
401 return ClassifyInternal(Ctx, cast<InitListExpr>(E)->getInit(0)); in ClassifyInternal()
DItaniumMangle.cpp393 void mangleInitListElements(const InitListExpr *InitList);
2775 void CXXNameMangler::mangleInitListElements(const InitListExpr *InitList) { in mangleInitListElements()
2906 mangleInitListElements(cast<InitListExpr>(E)); in mangleExpression()
2987 isa<InitListExpr>(Init)) { in mangleExpression()
2989 mangleInitListElements(cast<InitListExpr>(Init)); in mangleExpression()
3112 auto *ILE = cast<InitListExpr>(SILE->getSubExpr()->IgnoreImplicit()); in mangleExpression()
3290 if (auto *IL = dyn_cast<InitListExpr>(Sub)) { in mangleExpression()
DExprConstant.cpp4289 bool VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5274 bool VisitInitListExpr(const InitListExpr *E);
5390 bool RecordExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5595 bool VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5645 bool VisitInitListExpr(const InitListExpr *E);
5729 VectorExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5838 bool VisitInitListExpr(const InitListExpr *E);
5852 bool ArrayExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
8151 bool VisitInitListExpr(const InitListExpr *E);
8591 bool ComplexExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
[all …]
DASTDumper.cpp499 void VisitInitListExpr(const InitListExpr *ILE);
1847 void ASTDumper::VisitInitListExpr(const InitListExpr *ILE) { in VisitInitListExpr()
/external/clang/include/clang/Sema/
DInitialization.h751 InitListExpr *WrappingSyntacticList;
1095 void RewrapReferenceInitList(QualType T, InitListExpr *Syntactic);
/external/clang/include/clang/AST/
DExpr.h3812 class InitListExpr : public Expr {
3823 llvm::PointerIntPair<InitListExpr *, 1, bool> AltForm;
3835 InitListExpr(const ASTContext &C, SourceLocation lbraceloc,
3839 explicit InitListExpr(EmptyShell Empty) in InitListExpr() function
3901 return const_cast<InitListExpr *>(this)->getArrayFiller(); in getArrayFiller()
3919 return const_cast<InitListExpr *>(this)->getInitializedFieldInUnion(); in getInitializedFieldInUnion()
3945 InitListExpr *getSemanticForm() const { in getSemanticForm()
3948 InitListExpr *getSyntacticForm() const { in getSyntacticForm()
3952 void setSyntacticForm(InitListExpr *Init) { in setSyntacticForm()
4392 InitListExpr *getUpdater() const { in getUpdater()
[all …]
DRecursiveASTVisitor.h263 bool TraverseSynOrSemInitListExpr(InitListExpr *S,
2027 InitListExpr *S, DataRecursionQueue *Queue) {
2044 DEF_TRAVERSE_STMT(InitListExpr, {
DStmt.h99 friend class InitListExpr; // ctor in LLVM_ALIGNAS() local
217 friend class InitListExpr; in LLVM_ALIGNAS() local
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp446 assert(isa<InitListExpr>(Init)); in VisitCompoundLiteralExpr()
610 void ExprEngine::VisitInitListExpr(const InitListExpr *IE, in VisitInitListExpr()
633 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.h377 void VisitInitListExpr(const InitListExpr *E, ExplodedNode *Pred,
/external/v8/tools/gcmole/
Dgcmole.cc570 VISIT(InitListExpr); in VisitExpr()
711 DECL_VISIT_EXPR(InitListExpr) { in DECL_VISIT_EXPR() argument
/external/clang/lib/Serialization/
DASTReaderStmt.cpp742 void ASTStmtReader::VisitInitListExpr(InitListExpr *E) { in VisitInitListExpr()
744 if (InitListExpr *SyntForm = cast_or_null<InitListExpr>(Reader.ReadSubStmt())) in VisitInitListExpr()
2790 S = new (Context) InitListExpr(Empty); in ReadStmtFromStream()

12