Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaInit.cpp487 unsigned NumInits = ILE->getNumInits(); in FillInEmptyInitForField()
599 if (ILE->getNumInits() < NumFields) in FillInEmptyInitializations()
629 unsigned NumInits = ILE->getNumInits(); in FillInEmptyInitializations()
808 if (EndIndex < ParentIList->getNumInits() && in CheckImplicitInitList()
919 if (Index < IList->getNumInits()) { in CheckExplicitInitList()
968 IList->getNumInits() == 1 && !isa<InitListExpr>(IList->getInit(0))) in CheckExplicitInitList()
1042 if (SubInitList->getNumInits() == 1 && in CheckSubElementType()
1201 if (IList->getNumInits() != 2) in CheckComplexType()
1229 if (Index >= IList->getNumInits()) { in CheckScalarType()
1300 if (Index >= IList->getNumInits()) { in CheckReferenceType()
[all …]
DSemaOverload.cpp3108 NumArgs = InitList->getNumInits(); in IsUserDefinedConversion()
4531 if (From->getNumInits() == 1) { in TryListConversion()
4579 for (unsigned i = 0, e = From->getNumInits(); i < e; ++i) { in TryListConversion()
4600 if (From->getNumInits() == 0) { in TryListConversion()
4666 if (From->getNumInits() == 1) { in TryListConversion()
4730 unsigned NumInits = From->getNumInits(); in TryListConversion()
DSemaTemplateDeduction.cpp3267 ILE->getNumInits()); in DeduceFromInitializerList()
4064 for (unsigned i = 0, e = InitList->getNumInits(); i < e; ++i) { in DeduceAutoType()
DSemaExprCXX.cpp1580 unsigned NumElements = ILE->getNumInits() + 1; in BuildCXXNew()
2464 if (ILE->getNumInits() == 1) in getNewExprFromInitListOrExpr()
DSemaDeclCXX.cpp2523 if (ILE->getNumInits() == 1) in VisitCXXConstructExpr()
3075 Args = MultiExprArg(InitList->getInits(), InitList->getNumInits()); in BuildMemberInitializer()
DSemaChecking.cpp8309 for (unsigned I = 0; I < ILE->getNumInits(); ++I) { in VisitInitListExpr()
DTreeTransform.h8527 if (getDerived().TransformExprs(E->getInits(), E->getNumInits(), false, in TransformInitListExpr()
DSemaDecl.cpp8994 if (ILE->getNumInits() == 1) in VisitCXXConstructExpr()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp387 if (ILE->getNumInits()) in isTrivialFiller()
403 uint64_t NumInitElements = E->getNumInits(); in EmitArrayInit()
1160 assert(E->getNumInits() == 1 && in VisitInitListExpr()
1173 unsigned NumInitElements = E->getNumInits(); in VisitInitListExpr()
1326 ILEElement == ILE->getNumInits()) in GetNumNonZeroBytesInInit()
1347 for (unsigned i = 0, e = ILE->getNumInits(); i != e; ++i) in GetNumNonZeroBytesInInit()
DCGExprCXX.cpp851 InitListElements = ILE->getNumInits(); in EmitNewArrayInitializer()
879 for (unsigned i = 0, e = ILE->getNumInits(); i != e; ++i) { in EmitNewArrayInitializer()
909 assert(SubILE->getNumInits() == 0 && "explicit inits in array filler?"); in EmitNewArrayInitializer()
1005 if (ILE->getNumInits() == 0 && TryMemsetInitialization()) in EmitNewArrayInitializer()
1017 if (ILE->getNumInits() == NumFields) in EmitNewArrayInitializer()
1018 for (unsigned i = 0, e = ILE->getNumInits(); i != e; ++i) in EmitNewArrayInitializer()
1021 if (ILE->getNumInits() == NumFields && TryMemsetInitialization()) in EmitNewArrayInitializer()
1319 minElements = ILE->getNumInits(); in EmitCXXNewExpr()
DCGExprConstant.cpp385 if (ElementNo < ILE->getNumInits()) in Build()
771 unsigned NumInitElements = ILE->getNumInits(); in EmitArrayInitialization()
849 unsigned NumInitElements = Updater->getNumInits(); in EmitDesignatedInitUpdater()
1149 if (ElementNo < Updater->getNumInits()) in Build()
DCGExprComplex.cpp1005 if (E->getNumInits() == 2) { in VisitInitListExpr()
1009 } else if (E->getNumInits() == 1) { in VisitInitListExpr()
1014 assert(E->getNumInits() == 0 && "Unexpected number of inits"); in VisitInitListExpr()
DCGExprScalar.cpp1186 unsigned NumInitElements = E->getNumInits(); in VisitInitListExpr()
DCGExpr.cpp3256 assert(E->getNumInits() == 1 && "reference init with multiple values"); in EmitInitListLValue()
/external/clang/lib/AST/
DExprClassification.cpp399 assert(cast<InitListExpr>(E)->getNumInits() == 1 && in ClassifyInternal()
DExpr.cpp1967 for (unsigned i = 0, e = getNumInits(); i != e; ++i) in setArrayFiller()
1973 if (getNumInits() != 1) in isStringLiteralInit()
2823 unsigned numInits = ILE->getNumInits(); in isConstantInitializer()
2843 if (ElementNo < ILE->getNumInits()) { in isConstantInitializer()
DExprConstant.cpp4290 if (E->getNumInits() == 0) in VisitInitListExpr()
4292 if (E->getNumInits() == 1) in VisitInitListExpr()
5407 const Expr *InitExpr = E->getNumInits() ? E->getInit(0) : &VIE; in VisitInitListExpr()
5434 bool HaveInit = ElementNo < E->getNumInits(); in VisitInitListExpr()
5731 unsigned NumInits = E->getNumInits(); in VisitInitListExpr()
5876 unsigned NumEltsToInit = E->getNumInits(); in VisitInitListExpr()
5900 Index < E->getNumInits() ? E->getInit(Index) : FillerExpr; in VisitInitListExpr()
8592 if (E->getNumInits() == 2) { in VisitInitListExpr()
9112 if (cast<InitListExpr>(E)->getNumInits() == 1) in CheckICE()
DStmtPrinter.cpp1534 for (unsigned i = 0, e = Node->getNumInits(); i != e; ++i) { in VisitInitListExpr()
DItaniumMangle.cpp2778 for (unsigned i = 0, e = InitList->getNumInits(); i != e; ++i) in mangleInitListElements()
/external/clang/include/clang/AST/
DExpr.h3842 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits() function
3848 return llvm::makeArrayRef(getInits(), getNumInits()); in inits()
3852 assert(Init < getNumInits() && "Initializer access out of range!"); in getInit()
3857 assert(Init < getNumInits() && "Initializer access out of range!"); in getInit()
3862 assert(Init < getNumInits() && "Initializer access out of range!"); in setInit()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp720 Record.push_back(E->getNumInits()); in VisitInitListExpr()
725 for (unsigned I = 0, N = E->getNumInits(); I != N; ++I) in VisitInitListExpr()
728 for (unsigned I = 0, N = E->getNumInits(); I != N; ++I) in VisitInitListExpr()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp618 unsigned NumInitElements = IE->getNumInits(); in VisitInitListExpr()
/external/v8/tools/gcmole/
Dgcmole.cc712 return Seq(expr, expr->getNumInits(), expr->getInits(), env); in DECL_VISIT_EXPR()
/external/clang/lib/Analysis/
DCFG.cpp337 IE->getNumInits()); in reverse_children()