diff options
author | Dan Gohman <gohman@apple.com> | 2010-10-15 20:24:53 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-10-15 20:24:53 +0000 |
commit | 2f8c21d880e64fa13372ce978009b65a49f0040f (patch) | |
tree | 515c50e764b94f76df0973c59847f4c8aa336571 /lib/CodeGen | |
parent | 0a53198149d26a908bd89ca945ee3f12b4acc949 (diff) |
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CodeGenTBAA.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenTBAA.cpp b/lib/CodeGen/CodeGenTBAA.cpp index 5aea0f21ae..a1f38be122 100644 --- a/lib/CodeGen/CodeGenTBAA.cpp +++ b/lib/CodeGen/CodeGenTBAA.cpp @@ -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); |