PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients
are updated.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84447 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/CacheTokens.cpp b/lib/Frontend/CacheTokens.cpp
index 2761c6f..339a1c4 100644
--- a/lib/Frontend/CacheTokens.cpp
+++ b/lib/Frontend/CacheTokens.cpp
@@ -586,7 +586,7 @@
typedef data_type data_type_ref;
static unsigned ComputeHash(PTHIdKey* key) {
- return llvm::HashString(key->II->getNameStr());
+ return llvm::HashString(key->II->getName());
}
static std::pair<unsigned,unsigned>