]> granicus.if.org Git - clang/commitdiff
Add a comment.
authorDan Gohman <gohman@apple.com>
Fri, 15 Oct 2010 20:24:53 +0000 (20:24 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 15 Oct 2010 20:24:53 +0000 (20:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116615 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenTBAA.cpp

index 5aea0f21ae5d88529c622f6d44d858d6445491a0..a1f38be12296f9055cd00c7b04ea4b0239fbc24f 100644 (file)
@@ -76,7 +76,9 @@ CodeGenTBAA::getTBAAInfo(QualType QTy) {
     case BuiltinType::UInt128:
       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:
       return MetadataCache[Ty] =
                getTBAAInfoForNamedType(BTy->getName(Features), Char);