From e2617d97a588d29b2d50b050e5cef0c22059031c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 26 Feb 2009 19:03:24 +0000 Subject: Drop uses of isPointerLikeType. - No functionality change. llvm-svn: 65560 --- clang/lib/Analysis/BugReporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Analysis/BugReporter.cpp') 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() + "'"; -- cgit v1.2.3