summaryrefslogtreecommitdiffstats
path: root/clang/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
commite2617d97a588d29b2d50b050e5cef0c22059031c (patch)
treed6adb64b6bec12caf09f218dbec1757bd92628ec /clang/lib/Analysis/BugReporter.cpp
parent265fc59cb2787dd2a634ff2317793eff5144da97 (diff)
downloadbcm5719-llvm-e2617d97a588d29b2d50b050e5cef0c22059031c.tar.gz
bcm5719-llvm-e2617d97a588d29b2d50b050e5cef0c22059031c.zip
Drop uses of isPointerLikeType.
- No functionality change. llvm-svn: 65560
Diffstat (limited to 'clang/lib/Analysis/BugReporter.cpp')
-rw-r--r--clang/lib/Analysis/BugReporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/BugReporter.cpp b/clang/lib/Analysis/BugReporter.cpp
index a89542d4c11..1b013200b9e 100644
--- a/clang/lib/Analysis/BugReporter.cpp
+++ b/clang/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() + "'";
OpenPOWER on IntegriCloud