Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaInit.cpp292 unsigned NumInits = ILE->getNumInits(); in FillInValueInitForField()
395 unsigned NumInits = ILE->getNumInits(); in FillInValueInitializations()
568 if (EndIndex < ParentIList->getNumInits()) { in CheckImplicitInitList()
615 if (Index < IList->getNumInits()) { in CheckExplicitInitList()
662 if (!VerifyOnly && T->isScalarType() && IList->getNumInits() == 1 && in CheckExplicitInitList()
873 if (IList->getNumInits() != 2) in CheckComplexType()
901 if (Index >= IList->getNumInits()) { in CheckScalarType()
971 if (Index >= IList->getNumInits()) { in CheckReferenceType()
1033 if (Index >= IList->getNumInits()) { in CheckVectorType()
1083 if (Index >= IList->getNumInits()) { in CheckVectorType()
[all …]
DSemaTemplateDeduction.cpp2969 for (unsigned i = 0, e = ILE->getNumInits(); i < e; ++i) { in DeduceTemplateArgumentByListElement()
3104 for (unsigned i = 0, e = ILE->getNumInits(); i < e; ++i) { in DeduceTemplateArguments()
3194 for (unsigned i = 0, e = ILE->getNumInits(); i < e; ++i) { in DeduceTemplateArguments()
3581 for (unsigned i = 0, e = InitList->getNumInits(); i < e; ++i) { in DeduceAutoType()
DSemaOverload.cpp2985 NumArgs = InitList->getNumInits(); in IsUserDefinedConversion()
4365 for (unsigned i = 0, e = From->getNumInits(); i < e; ++i) { in TryListConversion()
4385 if (From->getNumInits() == 0) { in TryListConversion()
4450 if (From->getNumInits() == 1) { in TryListConversion()
4513 unsigned NumInits = From->getNumInits(); in TryListConversion()
DSemaExprCXX.cpp1364 unsigned NumElements = ILE->getNumInits() + 1; in BuildCXXNew()
DTreeTransform.h6623 if (getDerived().TransformExprs(E->getInits(), E->getNumInits(), false, in TransformInitListExpr()
DSemaDeclCXX.cpp2183 NumArgs = InitList->getNumInits(); in BuildMemberInitializer()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp328 unsigned numInits = initList->getNumInits(); in EmitStdInitializerList()
384 uint64_t NumInitElements = E->getNumInits(); in EmitArrayInit()
1031 unsigned NumInitElements = E->getNumInits(); in VisitInitListExpr()
1175 ILEElement == ILE->getNumInits()) in GetNumNonZeroBytesInInit()
1196 for (unsigned i = 0, e = ILE->getNumInits(); i != e; ++i) in GetNumNonZeroBytesInInit()
1392 for (unsigned i = 0, e = init->getNumInits(); i != e; ++i) { in EmitRecursiveStdInitializerListCleanup()
1409 unsigned numInits = init->getNumInits(); in EmitStdInitializerListCleanup()
DCGExprComplex.cpp747 if (E->getNumInits() == 2) { in VisitInitListExpr()
751 } else if (E->getNumInits() == 1) { in VisitInitListExpr()
756 assert(E->getNumInits() == 0 && "Unexpected number of inits"); in VisitInitListExpr()
DCGExprCXX.cpp851 initializerElements = ILE->getNumInits(); in EmitNewArrayInitializer()
866 for (unsigned i = 0, e = ILE->getNumInits(); i != e; ++i) { in EmitNewArrayInitializer()
1170 minElements = ILE->getNumInits(); in EmitCXXNewExpr()
DCGExprConstant.cpp409 if (ElementNo < ILE->getNumInits()) in Build()
770 unsigned NumInitElements = ILE->getNumInits(); in EmitArrayInitialization()
DCodeGenModule.cpp1438 init->getNumInits() == 0) in MaybeEmitGlobalStdInitializerListInitializer()
1442 unsigned numInits = init->getNumInits(); in MaybeEmitGlobalStdInitializerListInitializer()
1473 init->getNumInits()); in MaybeEmitGlobalStdInitializerListInitializer()
DCGExpr.cpp238 if (ILE->getNumInits() == 1 && ILE->isGLValue()) in EmitExprForReferenceBinding()
2320 assert(E->getNumInits() == 1 && "reference init with multiple values"); in EmitInitListLValue()
DCGExprScalar.cpp844 unsigned NumInitElements = E->getNumInits(); in VisitInitListExpr()
/external/clang/lib/AST/
DExprClassification.cpp384 assert(cast<InitListExpr>(E)->getNumInits() == 1 && in ClassifyInternal()
DExprConstant.cpp2568 if (E->getNumInits() == 0) in VisitInitListExpr()
2570 if (E->getNumInits() == 1) in VisitInitListExpr()
3412 const Expr *InitExpr = E->getNumInits() ? E->getInit(0) : &VIE; in VisitInitListExpr()
3435 bool HaveInit = ElementNo < E->getNumInits(); in VisitInitListExpr()
3672 unsigned NumInits = E->getNumInits(); in VisitInitListExpr()
3811 Result = APValue(APValue::UninitArray(), E->getNumInits(), in VisitInitListExpr()
6089 if (E->getNumInits() == 2) { in VisitInitListExpr()
DExpr.cpp1723 for (unsigned i = 0, e = getNumInits(); i != e; ++i) in setArrayFiller()
1729 if (getNumInits() != 1) in isStringLiteralInit()
2565 unsigned numInits = Exp->getNumInits(); in isConstantInitializer()
DItaniumMangle.cpp2452 for (unsigned i = 0, e = InitList->getNumInits(); i != e; ++i) in mangleExpression()
2525 for (unsigned i = 0, e = InitList->getNumInits(); i != e; ++i) in mangleExpression()
DStmtPrinter.cpp987 for (unsigned i = 0, e = Node->getNumInits(); i != e; ++i) { in VisitInitListExpr()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp619 Record.push_back(E->getNumInits()); in VisitInitListExpr()
624 for (unsigned I = 0, N = E->getNumInits(); I != N; ++I) in VisitInitListExpr()
627 for (unsigned I = 0, N = E->getNumInits(); I != N; ++I) in VisitInitListExpr()
/external/clang/include/clang/AST/
DExpr.h3534 unsigned getNumInits() const { return InitExprs.size(); } in getNumInits() function
3540 assert(Init < getNumInits() && "Initializer access out of range!"); in getInit()
3545 assert(Init < getNumInits() && "Initializer access out of range!"); in getInit()
3550 assert(Init < getNumInits() && "Initializer access out of range!"); in setInit()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp568 unsigned NumInitElements = IE->getNumInits(); in VisitInitListExpr()
/external/v8/tools/gcmole/
Dgcmole.cc728 return Seq(expr, expr->getNumInits(), expr->getInits(), env); in DECL_VISIT_EXPR()