• Home
  • Raw
  • Download

Lines Matching refs:getInit

463   if (Init >= NumInits || !ILE->getInit(Init)) {  in FillInEmptyInitForField()
513 = dyn_cast<InitListExpr>(ILE->getInit(Init))) in FillInEmptyInitForField()
592 Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : nullptr); in FillInEmptyInitializations()
701 SemaRef.Diag(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
712 SourceRange(ParentIList->getInit(Index)->getLocStart(), in CheckImplicitInitList()
731 = ParentIList->getInit(EndIndex)->getSourceRange().getEnd(); in CheckImplicitInitList()
789 IsStringInit(StructuredList->getInit(0), T, SemaRef.Context) == in CheckExplicitInitList()
797 SemaRef.Diag(IList->getInit(Index)->getLocStart(), DK) in CheckExplicitInitList()
798 << IList->getInit(Index)->getSourceRange(); in CheckExplicitInitList()
820 SemaRef.Diag(IList->getInit(Index)->getLocStart(), DK) in CheckExplicitInitList()
821 << initKind << IList->getInit(Index)->getSourceRange(); in CheckExplicitInitList()
896 Expr *expr = IList->getInit(Index); in CheckSubElementType()
1079 Expr *expr = IList->getInit(Index); in CheckScalarType()
1153 Expr *expr = IList->getInit(Index); in CheckReferenceType()
1210 Expr *Init = IList->getInit(Index); in CheckVectorType()
1312 QualType IType = IList->getInit(Index)->getType(); in CheckVectorType()
1354 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType()
1362 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef); in CheckArrayType()
1364 IList->getInit(Index)); in CheckArrayType()
1398 Expr *Init = IList->getInit(Index); in CheckArrayType()
1574 Expr *Init = IList->getInit(Index); in CheckStructUnionTypes()
1624 IList->getInit(Index)->getLocStart()); in CheckStructUnionTypes()
1678 if (CheckFlexibleArrayInit(Entity, IList->getInit(Index), *Field, in CheckStructUnionTypes()
1688 if (isa<InitListExpr>(IList->getInit(Index))) in CheckStructUnionTypes()
1755 DIE->usesGNUSyntax(), DIE->getInit()); in CloneDesignatedInitExpr()
1834 IList->setInit(OldIndex, DIE->getInit()); in CheckDesignatedInitializer()
1841 if (IList->getInit(OldIndex) != DIE->getInit()) in CheckDesignatedInitializer()
1842 DIE->setInit(IList->getInit(OldIndex)); in CheckDesignatedInitializer()
1997 Expr *ExistingInit = StructuredList->getInit(0); in CheckDesignatedInitializer()
2052 if (!hadError && !isa<InitListExpr>(DIE->getInit()) && in CheckDesignatedInitializer()
2053 !isa<StringLiteral>(DIE->getInit())) { in CheckDesignatedInitializer()
2056 SemaRef.Diag(DIE->getInit()->getLocStart(), in CheckDesignatedInitializer()
2058 << DIE->getInit()->getSourceRange(); in CheckDesignatedInitializer()
2066 if (!Invalid && CheckFlexibleArrayInit(Entity, DIE->getInit(), *Field, in CheckDesignatedInitializer()
2079 IList->setInit(Index, DIE->getInit()); in CheckDesignatedInitializer()
2183 DIE->getInit()->HasSideEffects(SemaRef.Context) && !VerifyOnly) in CheckDesignatedInitializer()
2221 Expr *SubExpr = StructuredList->getInit(0)->IgnoreParens(); in CheckDesignatedInitializer()
2344 ExistingInit = StructuredList->getInit(StructuredIndex); in getStructuredSubobjectInit()
2388 if (InitListExpr *SubList = dyn_cast<InitListExpr>(IList->getInit(Index))) { in getStructuredSubobjectInit()
3041 S.Type = Syntactic->getInit(0)->getType(); in RewrapReferenceInitList()
3387 Expr *Initializer = InitList->getInit(0); in TryReferenceListInitialization()
3487 InitList->getInit(0)->getType()->isRecordType()) { in TryListInitialization()
3505 Expr *SubInit[1] = { InitList->getInit(0) }; in TryListInitialization()
5509 Init = ILE->getInit(0); in performReferenceExtension()
5570 performLifetimeExtension(ILE->getInit(I), ExtendingEntity); in performLifetimeExtension()
5582 performReferenceExtension(ILE->getInit(0), ExtendingEntity); in performLifetimeExtension()
5590 Expr *SubInit = ILE->getInit(Index); in performLifetimeExtension()
6138 CurInit = cast<InitListExpr>(CurInit.get())->getInit(0); in Perform()
6622 R = SourceRange(InitList->getInit(0)->getLocEnd(), in Diagnose()