@@ -2254,8 +2254,8 @@ bool Type::isSignedIntegerType() const {
2254
2254
if (const auto *IT = dyn_cast<DependentBitIntType>(CanonicalType))
2255
2255
return IT->isSigned ();
2256
2256
2257
- if (const auto *NSAT = dyn_cast<OverflowBehaviorType>(CanonicalType))
2258
- return NSAT ->getUnderlyingType ()->isSignedIntegerType ();
2257
+ if (const auto *OBT = dyn_cast<OverflowBehaviorType>(CanonicalType))
2258
+ return OBT ->getUnderlyingType ()->isSignedIntegerType ();
2259
2259
2260
2260
return false ;
2261
2261
}
@@ -2273,8 +2273,8 @@ bool Type::isSignedIntegerOrEnumerationType() const {
2273
2273
if (const auto *IT = dyn_cast<DependentBitIntType>(CanonicalType))
2274
2274
return IT->isSigned ();
2275
2275
2276
- if (const auto *NSAT = dyn_cast<OverflowBehaviorType>(CanonicalType))
2277
- return NSAT ->getUnderlyingType ()->isSignedIntegerOrEnumerationType ();
2276
+ if (const auto *OBT = dyn_cast<OverflowBehaviorType>(CanonicalType))
2277
+ return OBT ->getUnderlyingType ()->isSignedIntegerOrEnumerationType ();
2278
2278
2279
2279
return false ;
2280
2280
}
@@ -2305,8 +2305,8 @@ bool Type::isUnsignedIntegerType() const {
2305
2305
if (const auto *IT = dyn_cast<DependentBitIntType>(CanonicalType))
2306
2306
return IT->isUnsigned ();
2307
2307
2308
- if (const auto *NSAT = dyn_cast<OverflowBehaviorType>(CanonicalType))
2309
- return NSAT ->getUnderlyingType ()->isUnsignedIntegerType ();
2308
+ if (const auto *OBT = dyn_cast<OverflowBehaviorType>(CanonicalType))
2309
+ return OBT ->getUnderlyingType ()->isUnsignedIntegerType ();
2310
2310
2311
2311
return false ;
2312
2312
}
@@ -2324,8 +2324,8 @@ bool Type::isUnsignedIntegerOrEnumerationType() const {
2324
2324
if (const auto *IT = dyn_cast<DependentBitIntType>(CanonicalType))
2325
2325
return IT->isUnsigned ();
2326
2326
2327
- if (const auto *NSAT = dyn_cast<OverflowBehaviorType>(CanonicalType))
2328
- return NSAT ->getUnderlyingType ()->isUnsignedIntegerOrEnumerationType ();
2327
+ if (const auto *OBT = dyn_cast<OverflowBehaviorType>(CanonicalType))
2328
+ return OBT ->getUnderlyingType ()->isUnsignedIntegerOrEnumerationType ();
2329
2329
2330
2330
return false ;
2331
2331
}
@@ -3096,8 +3096,8 @@ bool Type::isLiteralType(const ASTContext &Ctx) const {
3096
3096
if (const auto *AT = BaseTy->getAs <AtomicType>())
3097
3097
return AT->getValueType ()->isLiteralType (Ctx);
3098
3098
3099
- if (const auto *NSAT = BaseTy->getAs <OverflowBehaviorType>())
3100
- return NSAT ->getUnderlyingType ()->isLiteralType (Ctx);
3099
+ if (const auto *OBT = BaseTy->getAs <OverflowBehaviorType>())
3100
+ return OBT ->getUnderlyingType ()->isLiteralType (Ctx);
3101
3101
3102
3102
// If this type hasn't been deduced yet, then conservatively assume that
3103
3103
// it'll work out to be a literal type.
0 commit comments