simplify some code by using PointerLikeType.
llvm-svn: 49101
diff --git a/clang/lib/Analysis/GRSimpleVals.cpp b/clang/lib/Analysis/GRSimpleVals.cpp
index 0c62ae7..9a0d63e 100644
--- a/clang/lib/Analysis/GRSimpleVals.cpp
+++ b/clang/lib/Analysis/GRSimpleVals.cpp
@@ -356,7 +356,7 @@
RVal GRSimpleVals::EvalCast(GRExprEngine& Eng, LVal X, QualType T) {
- if (T->isPointerType() || T->isReferenceType() || T->isObjCQualifiedIdType())
+ if (T->isPointerLikeType() || T->isObjCQualifiedIdType())
return X;
assert (T->isIntegerType());