aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BugReporter.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-26 19:03:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-26 19:03:24 +0000
commit24a9f6e11d222f2d9feaf5f9605c1a66006f7061 (patch)
treebda4d1a9020c3bcbed13d485eda33faa23eaba58 /lib/Analysis/BugReporter.cpp
parent4b87142aba52c76ff9ed7c9c2fe0067bd935a2f4 (diff)
Drop uses of isPointerLikeType.
- No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
-rw-r--r--lib/Analysis/BugReporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp
index a89542d4c1..1b013200b9 100644
--- a/lib/Analysis/BugReporter.cpp
+++ b/lib/Analysis/BugReporter.cpp
@@ -471,7 +471,7 @@ public:
FullSourceLoc L(S->getLocStart(), BR.getSourceManager());
- if (VD->getType()->isPointerLikeType()) {
+ if (VD->getType()->isPointerType() || VD->getType()->isReferenceType()) {
std::string msg = "'" + std::string(VD->getNameAsString()) +
"' now aliases '" + MostRecent->getNameAsString() + "'";