Searched refs:NumInits (Results 1 – 8 of 8) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 531 unsigned NumInits = ILE->getNumInits(); in FillInEmptyInitForField() local 537 assert(Init < NumInits && "This ILE should have been expanded"); in FillInEmptyInitForField() 539 if (Init >= NumInits || !ILE->getInit(Init)) { in FillInEmptyInitForField() 542 if (Init < NumInits) in FillInEmptyInitForField() 558 if (Init < NumInits) in FillInEmptyInitForField() 591 } else if (Init < NumInits) { in FillInEmptyInitForField() 685 unsigned NumInits = ILE->getNumInits(); in FillInEmptyInitializations() local 686 unsigned NumElements = NumInits; in FillInEmptyInitializations() 709 Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : nullptr); in FillInEmptyInitializations() 710 if (!InitExpr && Init < NumInits && ILE->hasArrayFiller()) in FillInEmptyInitializations() [all …]
|
D | SemaExprCXX.cpp | 1527 unsigned NumInits = Initializer ? 1 : 0; in BuildCXXNew() local 1531 NumInits = List->getNumExprs(); in BuildCXXNew() 1536 if (initStyle == CXXNewExpr::NoInit || NumInits == 0) in BuildCXXNew() 1540 (NumInits == 1 && isa<InitListExpr>(Inits[0]))) in BuildCXXNew() 1544 if (NumInits > 1) { in BuildCXXNew() 1806 Inits[NumInits - 1]->getLocEnd()); in BuildCXXNew() 1825 llvm::makeArrayRef(Inits, NumInits))) { in BuildCXXNew() 1845 InitializationSequence InitSeq(*this, Entity, Kind, MultiExprArg(Inits, NumInits)); in BuildCXXNew() 1847 MultiExprArg(Inits, NumInits)); in BuildCXXNew()
|
D | SemaOverload.cpp | 4790 unsigned NumInits = From->getNumInits(); in TryListConversion() local 4791 if (NumInits == 1 && !isa<InitListExpr>(From->getInit(0))) in TryListConversion() 4798 else if (NumInits == 0) { in TryListConversion()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1788 void InitListExpr::reserveInits(const ASTContext &C, unsigned NumInits) { in reserveInits() argument 1789 if (NumInits > InitExprs.size()) in reserveInits() 1790 InitExprs.reserve(C, NumInits); in reserveInits() 1793 void InitListExpr::resizeInits(const ASTContext &C, unsigned NumInits) { in resizeInits() argument 1794 InitExprs.resize(C, NumInits, nullptr); in resizeInits()
|
D | ExprConstant.cpp | 5941 unsigned NumInits = E->getNumInits(); in VisitInitListExpr() local 5954 if (CountInits < NumInits in VisitInitListExpr() 5965 if (CountInits < NumInits) { in VisitInitListExpr() 5974 if (CountInits < NumInits) { in VisitInitListExpr()
|
/external/swiftshader/third_party/subzero/src/ |
D | PNaClTranslator.cpp | 1129 size_t NumInits = CurGlobalVar->getInitializers().size(); in verifyNoMissingInitializers() local 1130 if (InitializersNeeded != NumInits) { in verifyNoMissingInitializers() 1137 StrBuf << ". Found: " << NumInits; in verifyNoMissingInitializers() 1139 InitializersNeeded = NumInits; in verifyNoMissingInitializers()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 761 unsigned NumInits = Record[Idx++]; in VisitInitListExpr() local 762 E->reserveInits(Reader.getContext(), NumInits); in VisitInitListExpr() 764 for (unsigned I = 0; I != NumInits; ++I) { in VisitInitListExpr() 769 for (unsigned I = 0; I != NumInits; ++I) in VisitInitListExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 3809 void reserveInits(const ASTContext &C, unsigned NumInits); 3817 void resizeInits(const ASTContext &Context, unsigned NumInits);
|