diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-18 21:17:35 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-18 21:17:35 +0000 |
commit | 01eb9b9683535d8a65c704ad2c545903409e2d36 (patch) | |
tree | 62f21f2b440d6a4a196cf2fcb6d06eeb7b9a6fb7 /lib/Analysis/CFRefCount.cpp | |
parent | fa4f55067bb62a61eb48f77b0216ab1bb1168d27 (diff) |
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
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | lib/Analysis/CFRefCount.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 1affad0da3..50ddbba5b2 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -213,7 +213,7 @@ static bool isRefType(QualType RetTy, const char* prefix, // Recursively walk the typedef stack, allowing typedefs of reference types. while (TypedefType* TD = dyn_cast<TypedefType>(RetTy.getTypePtr())) { - llvm::StringRef TDName = TD->getDecl()->getIdentifier()->getNameStr(); + llvm::StringRef TDName = TD->getDecl()->getIdentifier()->getName(); if (TDName.startswith(prefix) && TDName.endswith("Ref")) return true; |