Lines Matching defs:BT
6265 if (const auto *BT = Promotable->getAs<BuiltinType>()) {
6272 if (BT->getKind() == BuiltinType::WChar_S ||
6273 BT->getKind() == BuiltinType::WChar_U ||
6274 BT->getKind() == BuiltinType::Char8 ||
6275 BT->getKind() == BuiltinType::Char16 ||
6276 BT->getKind() == BuiltinType::Char32) {
6277 bool FromIsSigned = BT->getKind() == BuiltinType::WChar_S;
6278 uint64_t FromSize = getTypeSize(BT);
6563 const auto *BT = dyn_cast<BuiltinType>(T);
6565 if (!BT) {
6572 switch (BT->getKind()) {
7037 if (const auto *BT = PointeeTy->getAs<BuiltinType>()) {
7038 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32)
7041 if (BT->getKind() == BuiltinType::Long && getIntWidth(PointeeTy) == 32)
7077 const BuiltinType *BT) {
7078 BuiltinType::Kind kind = BT->getKind();
7146 Diags.Report(DiagID) << BT->getName(C->getPrintingPolicy());
7185 const auto *BT = Enum->getIntegerType()->castAs<BuiltinType>();
7186 return getObjCEncodingForPrimitiveType(C, BT);
7225 const auto *BT = T->castAs<BuiltinType>();
7226 S += getObjCEncodingForPrimitiveType(Ctx, BT);
7243 if (const auto *BT = dyn_cast<BuiltinType>(CT))
7244 S += getObjCEncodingForPrimitiveType(this, BT);
7423 const auto *BT = T->castAs<BlockPointerType>();
7426 const auto *FT = BT->getPointeeType()->castAs<FunctionType>();