simplify some code by using PointerLikeType.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49101 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index bf0d5ea..36bae45 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -1201,7 +1201,7 @@
   
   QualType T = R->getType();
   
-  if (T->isPointerType() || T->isReferenceType()) {
+  if (T->isPointerLikeType()) {
     
     // Check if any of the return values return the address of a stack variable.