commit | 018220c343c103b7dfaa117a7a474c7a7fd6d068 | [log] [tgz] |
---|---|---|
author | Zhongxing Xu <xuzhongxing@gmail.com> | Wed Aug 11 06:10:55 2010 +0000 |
committer | Zhongxing Xu <xuzhongxing@gmail.com> | Wed Aug 11 06:10:55 2010 +0000 |
tree | 40dc57713cecb35317bb9b28a17941d07803c716 | |
parent | 18451ea83a4ec5a61816c20dc03f2ed8648600d1 [diff] [blame] |
MemRegion can refer to ASTContext without external help. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110784 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Checker/BasicObjCFoundationChecks.cpp b/lib/Checker/BasicObjCFoundationChecks.cpp index ecb2d1c..1d6104e 100644 --- a/lib/Checker/BasicObjCFoundationChecks.cpp +++ b/lib/Checker/BasicObjCFoundationChecks.cpp
@@ -358,7 +358,7 @@ if (!R) return false; - QualType T = Ctx.getCanonicalType(R->getValueType(Ctx)); + QualType T = Ctx.getCanonicalType(R->getValueType()); // FIXME: If the pointee isn't an integer type, should we flag a warning? // People can do weird stuff with pointers.