Lines Matching refs:DclT

11168 bool Sema::CheckForConstantInitializer(Expr *Init, QualType DclT) {  in CheckForConstantInitializer()  argument
12118 QualType DclT = VDecl->getType(), SavT = DclT; in AddInitializerToDecl() local
12122 if (getLangOpts().DebuggerCastResultToId && DclT->isObjCObjectPointerType() && in AddInitializerToDecl()
12164 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Args, &DclT); in AddInitializerToDecl()
12193 if (!VDecl->isInvalidDecl() && (DclT != SavT)) in AddInitializerToDecl()
12194 VDecl->setType(DclT); in AddInitializerToDecl()
12248 CheckForConstantInitializer(Init, DclT); in AddInitializerToDecl()
12257 CheckForConstantInitializer(Init, DclT); in AddInitializerToDecl()
12301 if (DclT->isDependentType()) { in AddInitializerToDecl()
12309 } else if (!DclT.isConstQualified()) { in AddInitializerToDecl()
12315 } else if (DclT->isIntegralOrEnumerationType()) { in AddInitializerToDecl()
12318 if (getLangOpts().CPlusPlus11 && DclT.isVolatileQualified()) in AddInitializerToDecl()
12343 } else if (DclT->isFloatingType()) { // also permits complex, which is ok in AddInitializerToDecl()
12349 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
12355 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
12365 } else if (getLangOpts().CPlusPlus11 && DclT->isLiteralType(Context)) { in AddInitializerToDecl()
12367 << DclT << Init->getSourceRange() in AddInitializerToDecl()
12373 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
12401 CheckForConstantInitializer(Init, DclT); in AddInitializerToDecl()