Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaInit.cpp497 assert(Init < ILE->getNumInits() && "should have been expanded"); in FillInEmptyInitForBase()
531 unsigned NumInits = ILE->getNumInits(); in FillInEmptyInitForField()
643 if (ILE->getNumInits() < NumElems) in FillInEmptyInitializations()
685 unsigned NumInits = ILE->getNumInits(); in FillInEmptyInitializations()
868 if (EndIndex < ParentIList->getNumInits() && in CheckImplicitInitList()
978 if (Index < IList->getNumInits()) { in CheckExplicitInitList()
1027 IList->getNumInits() == 1 && !isa<InitListExpr>(IList->getInit(0))) in CheckExplicitInitList()
1105 if (SubInitList->getNumInits() == 1 && in CheckSubElementType()
1264 if (IList->getNumInits() != 2) in CheckComplexType()
1291 if (Index >= IList->getNumInits()) { in CheckScalarType()
[all …]
DSemaOverload.cpp3171 NumArgs = InitList->getNumInits(); in IsUserDefinedConversion()
4591 if (From->getNumInits() == 1) { in TryListConversion()
4639 for (unsigned i = 0, e = From->getNumInits(); i < e; ++i) { in TryListConversion()
4660 if (From->getNumInits() == 0) { in TryListConversion()
4726 if (From->getNumInits() == 1) { in TryListConversion()
4790 unsigned NumInits = From->getNumInits(); in TryListConversion()
DSemaTemplateDeduction.cpp3259 ILE->getNumInits()); in DeduceFromInitializerList()
4056 for (unsigned i = 0, e = InitList->getNumInits(); i < e; ++i) { in DeduceAutoType()
DSemaExprCXX.cpp1814 unsigned NumElements = ILE->getNumInits() + 1; in BuildCXXNew()
2689 if (ILE->getNumInits() == 1) in getNewExprFromInitListOrExpr()
DSemaDeclCXX.cpp2526 if (ILE->getNumInits() == 1) in VisitCXXConstructExpr()
3078 Args = MultiExprArg(InitList->getInits(), InitList->getNumInits()); in BuildMemberInitializer()
DSemaChecking.cpp9343 for (unsigned I = 0; I < ILE->getNumInits(); ++I) { in VisitInitListExpr()
DTreeTransform.h8836 if (getDerived().TransformExprs(E->getInits(), E->getNumInits(), false, in TransformInitListExpr()
DSemaDecl.cpp9329 if (ILE->getNumInits() == 1) in VisitCXXConstructExpr()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp388 if (ILE->getNumInits()) in isTrivialFiller()
404 uint64_t NumInitElements = E->getNumInits(); in EmitArrayInit()
1167 assert(E->getNumInits() == 1 && in VisitInitListExpr()
1180 unsigned NumInitElements = E->getNumInits(); in VisitInitListExpr()
1192 assert(E->getNumInits() >= CXXRD->getNumBases() && in VisitInitListExpr()
1363 ILEElement == ILE->getNumInits()) in GetNumNonZeroBytesInInit()
1384 for (unsigned i = 0, e = ILE->getNumInits(); i != e; ++i) in GetNumNonZeroBytesInInit()
DCGExprCXX.cpp856 InitListElements = ILE->getNumInits(); in EmitNewArrayInitializer()
884 for (unsigned i = 0, e = ILE->getNumInits(); i != e; ++i) { in EmitNewArrayInitializer()
914 assert(SubILE->getNumInits() == 0 && "explicit inits in array filler?"); in EmitNewArrayInitializer()
1010 if (ILE->getNumInits() == 0 && TryMemsetInitialization()) in EmitNewArrayInitializer()
1025 if (ILE->getNumInits() == NumElements) in EmitNewArrayInitializer()
1026 for (unsigned i = 0, e = ILE->getNumInits(); i != e; ++i) in EmitNewArrayInitializer()
1029 if (ILE->getNumInits() == NumElements && TryMemsetInitialization()) in EmitNewArrayInitializer()
1327 minElements = ILE->getNumInits(); in EmitCXXNewExpr()
DCGExprConstant.cpp392 if (ElementNo < ILE->getNumInits()) in Build()
784 unsigned NumInitElements = ILE->getNumInits(); in EmitArrayInitialization()
862 unsigned NumInitElements = Updater->getNumInits(); in EmitDesignatedInitUpdater()
1169 if (ElementNo < Updater->getNumInits()) in Build()
DCGExprComplex.cpp1006 if (E->getNumInits() == 2) { in VisitInitListExpr()
1010 } else if (E->getNumInits() == 1) { in VisitInitListExpr()
1015 assert(E->getNumInits() == 0 && "Unexpected number of inits"); in VisitInitListExpr()
DCGExprScalar.cpp1171 unsigned NumInitElements = E->getNumInits(); in VisitInitListExpr()
DCGExpr.cpp3465 assert(E->getNumInits() == 1 && "reference init with multiple values"); in EmitInitListLValue()
/external/clang/lib/AST/
DExprClassification.cpp400 assert(cast<InitListExpr>(E)->getNumInits() == 1 && in ClassifyInternal()
DExprConstant.cpp4437 if (E->getNumInits() == 0) in VisitInitListExpr()
4439 if (E->getNumInits() == 1) in VisitInitListExpr()
5570 const Expr *InitExpr = E->getNumInits() ? E->getInit(0) : &VIE; in VisitInitListExpr()
5593 assert(ElementNo < E->getNumInits() && "missing init for base class"); in VisitInitListExpr()
5619 bool HaveInit = ElementNo < E->getNumInits(); in VisitInitListExpr()
5941 unsigned NumInits = E->getNumInits(); in VisitInitListExpr()
6086 unsigned NumEltsToInit = E->getNumInits(); in VisitInitListExpr()
6110 Index < E->getNumInits() ? E->getInit(Index) : FillerExpr; in VisitInitListExpr()
8895 if (E->getNumInits() == 2) { in VisitInitListExpr()
9430 if (cast<InitListExpr>(E)->getNumInits() == 1) in CheckICE()
DExpr.cpp1814 for (unsigned i = 0, e = getNumInits(); i != e; ++i) in setArrayFiller()
1820 if (getNumInits() != 1) in isStringLiteralInit()
2670 unsigned numInits = ILE->getNumInits(); in isConstantInitializer()
2690 if (ElementNo < ILE->getNumInits()) { in isConstantInitializer()
DStmtPrinter.cpp1664 for (unsigned i = 0, e = Node->getNumInits(); i != e; ++i) { in VisitInitListExpr()
DItaniumMangle.cpp3167 for (unsigned i = 0, e = InitList->getNumInits(); i != e; ++i) in mangleInitListElements()
DASTImporter.cpp5951 llvm::SmallVector<Expr *, 4> Exprs(ILE->getNumInits()); in VisitInitListExpr()
5953 ILE->getInits(), ILE->getInits() + ILE->getNumInits(), Exprs.begin())) in VisitInitListExpr()
/external/clang/include/clang/AST/
DExpr.h3776 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits() function
3782 return llvm::makeArrayRef(getInits(), getNumInits()); in inits()
3786 assert(Init < getNumInits() && "Initializer access out of range!"); in getInit()
3791 assert(Init < getNumInits() && "Initializer access out of range!"); in getInit()
3796 assert(Init < getNumInits() && "Initializer access out of range!"); in setInit()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp734 Record.push_back(E->getNumInits()); in VisitInitListExpr()
739 for (unsigned I = 0, N = E->getNumInits(); I != N; ++I) in VisitInitListExpr()
742 for (unsigned I = 0, N = E->getNumInits(); I != N; ++I) in VisitInitListExpr()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp629 unsigned NumInitElements = IE->getNumInits(); in VisitInitListExpr()
/external/v8/tools/gcmole/
Dgcmole.cc744 return Seq(expr, expr->getNumInits(), expr->getInits(), env); in DECL_VISIT_EXPR()
/external/clang/lib/Analysis/
DCFG.cpp337 IE->getNumInits()); in reverse_children()