/external/clang/lib/Sema/ |
D | SemaInit.cpp | 242 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 …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaInit.cpp | 290 InitListExpr *FullyStructuredList = nullptr; 300 InitListExpr *ParentIList, QualType T, 301 unsigned &Index, InitListExpr *StructuredList, 304 InitListExpr *IList, QualType &T, 305 InitListExpr *StructuredList, 308 InitListExpr *IList, QualType &DeclType, 311 InitListExpr *StructuredList, 315 InitListExpr *IList, QualType ElemType, 317 InitListExpr *StructuredList, 320 InitListExpr *IList, QualType DeclType, [all …]
|
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
D | InitListExprPreOrderNoQueue.cpp | 18 bool TraverseInitListExpr(InitListExpr *ILE) { in TraverseInitListExpr() 22 bool VisitInitListExpr(InitListExpr *ILE) { in VisitInitListExpr()
|
D | InitListExprPostOrderNoQueue.cpp | 20 bool TraverseInitListExpr(InitListExpr *ILE) { in TraverseInitListExpr() 24 bool VisitInitListExpr(InitListExpr *ILE) { in VisitInitListExpr()
|
D | InitListExprPostOrder.cpp | 20 bool VisitInitListExpr(InitListExpr *ILE) { in VisitInitListExpr()
|
D | InitListExprPreOrder.cpp | 25 bool VisitInitListExpr(InitListExpr *ILE) { in VisitInitListExpr()
|
/external/clang/lib/Index/ |
D | IndexBody.cpp | 295 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/lib/CodeGen/ |
D | CGExprConstant.cpp | 49 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 …]
|
D | CGExprAgg.cpp | 88 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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseDefaultMemberInitCheck.cpp | 21 AST_MATCHER_P(InitListExpr, initCountIs, unsigned, N) { in AST_MATCHER_P() argument 120 return cast<InitListExpr>(E)->getNumInits() == 0; in isZero() 144 auto *InitList = dyn_cast<InitListExpr>(E); in getInitializer()
|
D | UseNullptrCheck.cpp | 141 bool TraverseInitListExpr(InitListExpr *S) { in TraverseInitListExpr() 429 if (!Parent.get<InitListExpr>()) in findContainingAncestor()
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 186 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/ |
D | NonNullParamChecker.cpp | 128 if (const InitListExpr *IE = in checkPreCall() 129 dyn_cast<InitListExpr>(CE->getInitializer())) in checkPreCall()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexBody.cpp | 408 bool TraverseInitListExpr(InitListExpr *S, DataRecursionQueue *Q = nullptr) { in TraverseInitListExpr() 409 auto visitForm = [&](InitListExpr *Form) { in TraverseInitListExpr() 427 InitListExpr *SemaForm = S->isSemanticForm() ? S : S->getSemanticForm(); in TraverseInitListExpr() 428 InitListExpr *SyntaxForm = S->isSemanticForm() ? S->getSyntacticForm() : S; in TraverseInitListExpr()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ComputeDependence.h | 44 class InitListExpr; variable 126 ExprDependence computeDependence(InitListExpr *E);
|
/external/llvm-project/clang-tools-extra/clang-reorder-fields/ |
D | ReorderFieldsAction.cpp | 225 const InitListExpr *InitListEx, ArrayRef<unsigned> NewFieldsOrder, in reorderFieldsInInitListExpr() 297 Result.getNodeAs<InitListExpr>("initListExpr"), NewFieldsOrder, in HandleTranslationUnit()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 554 InitListExpr *ILE, QualType StructTy); 559 InitListExpr *Updater); 576 bool Build(InitListExpr *ILE, bool AllowOverwrite); 625 InitListExpr *Updater) { in EmitDesignatedInitUpdater() 657 } else if (InitListExpr *ChildILE = dyn_cast<InitListExpr>(Init)) { in EmitDesignatedInitUpdater() 673 bool ConstStructBuilder::Build(InitListExpr *ILE, bool AllowOverwrite) { in Build() 712 if (auto *SubILE = dyn_cast<InitListExpr>(Init)) { in Build() 860 InitListExpr *ILE, in BuildStruct() 887 CharUnits Offset, InitListExpr *Updater) { in UpdateStruct() 1193 llvm::Constant *EmitArrayInitialization(InitListExpr *ILE, QualType T) { in EmitArrayInitialization() [all …]
|
D | CGExprAgg.cpp | 91 QualType ArrayQTy, InitListExpr *E); 172 void VisitInitListExpr(InitListExpr *E); 458 if (auto *ILE = dyn_cast<InitListExpr>(E)) { in isTrivialFiller() 474 QualType ArrayQTy, InitListExpr *E) { in EmitArrayInit() 1585 void AggExprEmitter::VisitInitListExpr(InitListExpr *E) { in VisitInitListExpr() 1884 const InitListExpr *ILE = dyn_cast<InitListExpr>(E); in GetNumNonZeroBytesInInit() 1886 ILE = dyn_cast<InitListExpr>(ILE->getInit(0)); in GetNumNonZeroBytesInInit()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1766 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 …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousMissingCommaCheck.cpp | 99 const auto *InitializerList = Result.Nodes.getNodeAs<InitListExpr>("list"); in check()
|
/external/llvm-project/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 331 TEST(InitListExpr, VectorLiteralListBraceRange) { in TEST() argument 332 RangeVerifier<InitListExpr> Verifier; in TEST() 339 TEST(InitListExpr, VectorLiteralInitListParens) { in TEST() argument 340 RangeVerifier<InitListExpr> Verifier; in TEST()
|
/external/llvm-project/clang/lib/AST/ |
D | Expr.cpp | 2105 InitListExpr::InitListExpr(const ASTContext &C, SourceLocation lbraceloc, in InitListExpr() function in InitListExpr 2116 void InitListExpr::reserveInits(const ASTContext &C, unsigned NumInits) { in reserveInits() 2121 void InitListExpr::resizeInits(const ASTContext &C, unsigned NumInits) { in resizeInits() 2125 Expr *InitListExpr::updateInit(const ASTContext &C, unsigned Init, Expr *expr) { in updateInit() 2137 void InitListExpr::setArrayFiller(Expr *filler) { in setArrayFiller() 2147 bool InitListExpr::isStringLiteralInit() const { in isStringLiteralInit() 2161 bool InitListExpr::isTransparent() const { in isTransparent() 2184 bool InitListExpr::isIdiomaticZeroInitializer(const LangOptions &LangOpts) const { in isIdiomaticZeroInitializer() 2195 SourceLocation InitListExpr::getBeginLoc() const { in getBeginLoc() 2196 if (InitListExpr *SyntacticForm = getSyntacticForm()) in getBeginLoc() [all …]
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | RangeSelector.cpp | 297 const InitListExpr &E) { in getElementsRange() 304 return RelativeSelector<InitListExpr, getElementsRange>(std::move(ID)); in initListElements()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Initialization.h | 696 if (isa<InitListExpr>(Init)) in CreateForInit() 957 InitListExpr *WrappingSyntacticList; 1356 void RewrapReferenceInitList(QualType T, InitListExpr *Syntactic);
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | ExprSequence.cpp | 113 } else if (const auto *InitList = dyn_cast<InitListExpr>(Parent)) { in getSequenceSuccessor()
|