Lines Matching refs:DclT
6216 bool Sema::CheckForConstantInitializer(Expr *Init, QualType DclT) { in CheckForConstantInitializer() argument
6530 QualType DclT = VDecl->getType(), SavT = DclT; in AddInitializerToDecl() local
6534 if (getLangOpts().DebuggerCastResultToId && DclT->isObjCIdType()) in AddInitializerToDecl()
6565 MultiExprArg(Args, NumArgs), &DclT); in AddInitializerToDecl()
6578 if (!VDecl->isInvalidDecl() && (DclT != SavT)) in AddInitializerToDecl()
6579 VDecl->setType(DclT); in AddInitializerToDecl()
6597 CheckForConstantInitializer(Init, DclT); in AddInitializerToDecl()
6622 if (DclT->isDependentType()) { in AddInitializerToDecl()
6630 } else if (!DclT.isConstQualified()) { in AddInitializerToDecl()
6636 } else if (DclT->isIntegralOrEnumerationType()) { in AddInitializerToDecl()
6639 if (getLangOpts().CPlusPlus0x && DclT.isVolatileQualified()) in AddInitializerToDecl()
6661 } else if (DclT->isFloatingType()) { // also permits complex, which is ok in AddInitializerToDecl()
6663 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
6676 } else if (getLangOpts().CPlusPlus0x && DclT->isLiteralType()) { in AddInitializerToDecl()
6678 << DclT << Init->getSourceRange() in AddInitializerToDecl()
6684 << DclT << Init->getSourceRange(); in AddInitializerToDecl()
6695 CheckForConstantInitializer(Init, DclT); in AddInitializerToDecl()