Lines Matching refs:DclT
9071 bool Sema::CheckForConstantInitializer(Expr *Init, QualType DclT) { in CheckForConstantInitializer() argument
9674 QualType DclT = VDecl->getType(), SavT = DclT; in AddInitializerToDecl() local
9678 if (getLangOpts().DebuggerCastResultToId && DclT->isObjCObjectPointerType() && in AddInitializerToDecl()
9726 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Args, &DclT); in AddInitializerToDecl()
9747 if (!VDecl->isInvalidDecl() && (DclT != SavT)) in AddInitializerToDecl()
9748 VDecl->setType(DclT); in AddInitializerToDecl()
9799 CheckForConstantInitializer(Init, DclT); in AddInitializerToDecl()
9835 if (DclT->isDependentType()) { in AddInitializerToDecl()
9843 } else if (!DclT.isConstQualified()) { in AddInitializerToDecl()
9849 } else if (DclT->isIntegralOrEnumerationType()) { in AddInitializerToDecl()
9852 if (getLangOpts().CPlusPlus11 && DclT.isVolatileQualified()) in AddInitializerToDecl()
9874 } else if (DclT->isFloatingType()) { // also permits complex, which is ok in AddInitializerToDecl()
9880 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
9886 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
9896 } else if (getLangOpts().CPlusPlus11 && DclT->isLiteralType(Context)) { in AddInitializerToDecl()
9898 << DclT << Init->getSourceRange() in AddInitializerToDecl()
9904 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
9917 CheckForConstantInitializer(Init, DclT); in AddInitializerToDecl()