summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-18 20:26:12 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-18 20:26:12 +0000
commit2c422dc9ca678c374a7cde30e880db2b62bc333f (patch)
treecc828622678dc86050c611deff9c3d22712f2b7a /clang/lib/Analysis/CFRefCount.cpp
parente175bb194171fdf0bf0b5051e957bc445b9f0011 (diff)
downloadbcm5719-llvm-2c422dc9ca678c374a7cde30e880db2b62bc333f.tar.gz
bcm5719-llvm-2c422dc9ca678c374a7cde30e880db2b62bc333f.zip
Move clients to use IdentifierInfo::getNameStart() instead of getName()
llvm-svn: 84436
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-rw-r--r--clang/lib/Analysis/CFRefCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp
index 7379b67d59c..1affad0da37 100644
--- a/clang/lib/Analysis/CFRefCount.cpp
+++ b/clang/lib/Analysis/CFRefCount.cpp
@@ -931,7 +931,7 @@ RetainSummary* RetainSummaryManager::getSummary(FunctionDecl* FD) {
// [PR 3337] Use 'getAs<FunctionType>' to strip away any typedefs on the
// function's type.
const FunctionType* FT = FD->getType()->getAs<FunctionType>();
- const char* FName = FD->getIdentifier()->getName();
+ const char* FName = FD->getIdentifier()->getNameStart();
// Strip away preceding '_'. Doing this here will effect all the checks
// down below.
OpenPOWER on IntegriCloud