|
@@ -76,7 +76,9 @@ CodeGenTBAA::getTBAAInfo(QualType QTy) {
|
|
case BuiltinType::UInt128:
|
|
case BuiltinType::UInt128:
|
|
return getTBAAInfo(Context.Int128Ty);
|
|
return getTBAAInfo(Context.Int128Ty);
|
|
|
|
|
|
- // Other builtin types.
|
|
|
|
|
|
+ // Treat all other builtin types as distinct types. This includes
|
|
|
|
+ // treating wchar_t, char16_t, and char32_t as distinct from their
|
|
|
|
+ // "underlying types".
|
|
default:
|
|
default:
|
|
return MetadataCache[Ty] =
|
|
return MetadataCache[Ty] =
|
|
getTBAAInfoForNamedType(BTy->getName(Features), Char);
|
|
getTBAAInfoForNamedType(BTy->getName(Features), Char);
|