Lines Matching refs:DclT
8737 bool Sema::CheckForConstantInitializer(Expr *Init, QualType DclT) { in CheckForConstantInitializer() argument
9339 QualType DclT = VDecl->getType(), SavT = DclT; in AddInitializerToDecl() local
9343 if (getLangOpts().DebuggerCastResultToId && DclT->isObjCObjectPointerType() && in AddInitializerToDecl()
9389 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Args, &DclT); in AddInitializerToDecl()
9410 if (!VDecl->isInvalidDecl() && (DclT != SavT)) in AddInitializerToDecl()
9411 VDecl->setType(DclT); in AddInitializerToDecl()
9462 CheckForConstantInitializer(Init, DclT); in AddInitializerToDecl()
9498 if (DclT->isDependentType()) { in AddInitializerToDecl()
9506 } else if (!DclT.isConstQualified()) { in AddInitializerToDecl()
9512 } else if (DclT->isIntegralOrEnumerationType()) { in AddInitializerToDecl()
9515 if (getLangOpts().CPlusPlus11 && DclT.isVolatileQualified()) in AddInitializerToDecl()
9537 } else if (DclT->isFloatingType()) { // also permits complex, which is ok in AddInitializerToDecl()
9543 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
9549 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
9559 } else if (getLangOpts().CPlusPlus11 && DclT->isLiteralType(Context)) { in AddInitializerToDecl()
9561 << DclT << Init->getSourceRange() in AddInitializerToDecl()
9567 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
9580 CheckForConstantInitializer(Init, DclT); in AddInitializerToDecl()