commit | a05f7d22201af6cccc06d9258daed7b9651fda04 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Apr 02 17:45:06 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Apr 02 17:45:06 2008 +0000 |
tree | afd5abc5af0f3a1abeea3c690471a8382ca60a47 | |
parent | cfac88de7de7d970a2436af939ea87c0e5a9cf9f [diff] [blame] |
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.