Home
last modified time | relevance | path

Searched refs:InitListExpr (Results 1 – 25 of 49) 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.cpp3251 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Arg)) { in DeduceTemplateArgumentByListElement()
3380 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Arg)) { in DeduceTemplateArguments()
3451 if (InitListExpr *ILE = dyn_cast<InitListExpr>(Arg)) { in DeduceTemplateArguments()
3988 if (isa<InitListExpr>(Init)) { in DeduceAutoType()
4028 InitListExpr *InitList = dyn_cast<InitListExpr>(Init); in DeduceAutoType()
4089 if (isa<InitListExpr>(Init)) in DiagnoseAutoDeductionFailure()
DSemaLambda.cpp706 const bool IsDirectInit = isa<ParenListExpr>(Init) || isa<InitListExpr>(Init); in performLambdaInitCaptureInitialization()
738 if (isa<InitListExpr>(DeduceInit)) in performLambdaInitCaptureInitialization()
748 if (isa<InitListExpr>(Init)) in performLambdaInitCaptureInitialization()
DSemaStmt.cpp1810 if ((!isa<InitListExpr>(Init) && Init->getType()->isVoidType()) || in FinishForRangeVarDecl()
2612 if (RetValExp && !isa<InitListExpr>(RetValExp)) { in ActOnCapScopeReturnStmt()
2667 if (RetValExp && !isa<InitListExpr>(RetValExp) && in ActOnCapScopeReturnStmt()
2734 if (RetExpr && isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
2754 if (isa<InitListExpr>(RetExpr)) { in DeduceFunctionTypeFromReturnExpr()
2886 if (isa<InitListExpr>(RetValExp)) { in BuildReturnStmt()
DSemaExprCXX.cpp918 assert((!ListInitialization || (Exprs.size() == 1 && isa<InitListExpr>(Exprs[0]))) in BuildCXXTypeConstructExpr()
964 if (isa<InitListExpr>(Inner)) { in BuildCXXTypeConstructExpr()
1144 assert(isa<InitListExpr>(Init) && in isLegalArrayNewInitializer()
1170 } else if (Initializer && isa<InitListExpr>(Initializer)) in BuildCXXNew()
1201 (NumInits == 1 && isa<InitListExpr>(Inits[0]))) in BuildCXXNew()
1469 if (InitListExpr *ILE = dyn_cast_or_null<InitListExpr>(Initializer)) { in BuildCXXNew()
/external/clang/unittests/AST/
DSourceLocationTest.cpp142 TEST(InitListExpr, VectorLiteralListBraceRange) { in TEST() argument
143 RangeVerifier<InitListExpr> Verifier; in TEST()
150 TEST(InitListExpr, VectorLiteralInitListParens) { in TEST() argument
151 RangeVerifier<InitListExpr> Verifier; in TEST()
/external/clang/lib/StaticAnalyzer/Checkers/
DNonNullParamChecker.cpp114 if (const InitListExpr *IE = in checkPreCall()
115 dyn_cast<InitListExpr>(CE->getInitializer())) in checkPreCall()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp87 QualType elementType, InitListExpr *E);
159 void VisitInitListExpr(InitListExpr *E);
382 if (auto *ILE = dyn_cast<InitListExpr>(E)) { in isTrivialFiller()
398 QualType elementType, InitListExpr *E) { in EmitArrayInit()
1100 void AggExprEmitter::VisitInitListExpr(InitListExpr *E) { in VisitInitListExpr()
1271 const InitListExpr *ILE = dyn_cast<InitListExpr>(E); in GetNumNonZeroBytesInInit()
DCGExprConstant.cpp46 InitListExpr *ILE);
70 bool Build(InitListExpr *ILE);
349 bool ConstStructBuilder::Build(InitListExpr *ILE) { in Build()
529 InitListExpr *ILE) { in BuildStruct()
723 llvm::Constant *EmitArrayInitialization(InitListExpr *ILE) { in EmitArrayInitialization()
777 llvm::Constant *EmitRecordInitialization(InitListExpr *ILE) { in EmitRecordInitialization()
785 llvm::Constant *VisitInitListExpr(InitListExpr *ILE) { in VisitInitListExpr()
DCGExprCXX.cpp773 if (const InitListExpr *ILE = dyn_cast<InitListExpr>(Init)) { in EmitNewArrayInitializer()
822 auto *SubILE = dyn_cast<InitListExpr>(Init); in EmitNewArrayInitializer()
922 if (auto *ILE = dyn_cast<InitListExpr>(Init)) in EmitNewArrayInitializer()
1220 if (const InitListExpr *ILE = dyn_cast<InitListExpr>(E->getInitializer())) in EmitCXXNewExpr()
DCGExprComplex.cpp275 ComplexPairTy VisitInitListExpr(InitListExpr *E);
791 ComplexPairTy ComplexExprEmitter::VisitInitListExpr(InitListExpr *E) { in VisitInitListExpr()
DCodeGenModule.h64 class InitListExpr; variable
/external/clang/lib/AST/
DExpr.cpp1832 InitListExpr::InitListExpr(const ASTContext &C, SourceLocation lbraceloc, in InitListExpr() function in InitListExpr
1854 void InitListExpr::reserveInits(const ASTContext &C, unsigned NumInits) { in reserveInits()
1859 void InitListExpr::resizeInits(const ASTContext &C, unsigned NumInits) { in resizeInits()
1863 Expr *InitListExpr::updateInit(const ASTContext &C, unsigned Init, Expr *expr) { in updateInit()
1875 void InitListExpr::setArrayFiller(Expr *filler) { in setArrayFiller()
1885 bool InitListExpr::isStringLiteralInit() const { in isStringLiteralInit()
1899 SourceLocation InitListExpr::getLocStart() const { in getLocStart()
1900 if (InitListExpr *SyntacticForm = getSyntacticForm()) in getLocStart()
1917 SourceLocation InitListExpr::getLocEnd() const { in getLocEnd()
1918 if (InitListExpr *SyntacticForm = getSyntacticForm()) in getLocEnd()
[all …]
DExprClassification.cpp392 assert(cast<InitListExpr>(E)->getNumInits() == 1 && in ClassifyInternal()
394 return ClassifyInternal(Ctx, cast<InitListExpr>(E)->getInit(0)); in ClassifyInternal()
DItaniumMangle.cpp2678 const InitListExpr *InitList = cast<InitListExpr>(E); in mangleExpression()
2756 isa<InitListExpr>(Init)) { in mangleExpression()
2758 const InitListExpr *InitList = cast<InitListExpr>(Init); in mangleExpression()
DExprConstant.cpp4065 bool VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
4938 bool VisitInitListExpr(const InitListExpr *E);
5054 bool RecordExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5259 bool VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5306 bool VisitInitListExpr(const InitListExpr *E);
5390 VectorExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
5496 bool VisitInitListExpr(const InitListExpr *E);
5510 bool ArrayExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
7540 bool VisitInitListExpr(const InitListExpr *E);
7876 bool ComplexExprEvaluator::VisitInitListExpr(const InitListExpr *E) { in VisitInitListExpr()
[all …]
DASTDumper.cpp318 void VisitInitListExpr(const InitListExpr *ILE);
1729 void ASTDumper::VisitInitListExpr(const InitListExpr *ILE) { in VisitInitListExpr()
/external/clang/include/clang/Sema/
DInitialization.h745 InitListExpr *WrappingSyntacticList;
1067 void RewrapReferenceInitList(QualType T, InitListExpr *Syntactic);
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp424 assert(isa<InitListExpr>(Init)); in VisitCompoundLiteralExpr()
585 void ExprEngine::VisitInitListExpr(const InitListExpr *IE, in VisitInitListExpr()
608 for (InitListExpr::const_reverse_iterator it = IE->rbegin(), in VisitInitListExpr()
/external/clang/include/clang/AST/
DExpr.h3753 class InitListExpr : public Expr {
3764 llvm::PointerIntPair<InitListExpr *, 1, bool> AltForm;
3776 InitListExpr(const ASTContext &C, SourceLocation lbraceloc,
3780 explicit InitListExpr(EmptyShell Empty) in InitListExpr() function
3838 return const_cast<InitListExpr *>(this)->getArrayFiller(); in getArrayFiller()
3856 return const_cast<InitListExpr *>(this)->getInitializedFieldInUnion(); in getInitializedFieldInUnion()
3882 InitListExpr *getSemanticForm() const { in getSemanticForm()
3885 InitListExpr *getSyntacticForm() const { in getSyntacticForm()
3889 void setSyntacticForm(InitListExpr *Init) { in setSyntacticForm()
DDataRecursiveASTVisitor.h2000 bool RecursiveASTVisitor<Derived>::TraverseInitListExpr(InitListExpr *S) { in TraverseInitListExpr()
2001 if (InitListExpr *Syn = S->getSyntacticForm()) in TraverseInitListExpr()
/external/clang/include/clang/Basic/
DStmtNodes.td78 def InitListExpr : DStmt<Expr>;
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h364 void VisitInitListExpr(const InitListExpr *E, ExplodedNode *Pred,
/external/chromium_org/v8/tools/gcmole/
Dgcmole.cc570 VISIT(InitListExpr); in VisitExpr()
711 DECL_VISIT_EXPR(InitListExpr) { in DECL_VISIT_EXPR() argument
/external/clang/lib/Serialization/
DASTReaderStmt.cpp712 void ASTStmtReader::VisitInitListExpr(InitListExpr *E) { in VisitInitListExpr()
714 if (InitListExpr *SyntForm = cast_or_null<InitListExpr>(Reader.ReadSubStmt())) in VisitInitListExpr()
2280 S = new (Context) InitListExpr(Empty); in ReadStmtFromStream()

12