more consistent with other names, and to look less like a magic name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116616
91177308-0d34-0410-b5e6-
96231b3b80d8
}
}
- // For now, treat all pointers as equivalent to each other.
+ // TODO: Implement C++'s type "similarity" and consider dis-"similar"
+ // pointers distinct.
if (Ty->isPointerType())
- return MetadataCache[Ty] = getTBAAInfoForNamedType("TBAA.pointer", Char);
+ return MetadataCache[Ty] = getTBAAInfoForNamedType("any pointer", Char);
// Enum types are distinct types. In C++ they have "underlying types",
// however they aren't related for TBAA.