aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/BasicObjCFoundationChecks.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-10-24 20:32:16 +0000
committerTed Kremenek <kremenek@apple.com>2008-10-24 20:32:16 +0000
commit9deb0e35dea0f82691fadb60b61f45887ba67aba (patch)
tree3e4a64cf5410d3c066c2df2382e5f0d60060ef16 /lib/Analysis/BasicObjCFoundationChecks.cpp
parenta7f1b9e8804012ed8df25d93f5a06cb26c9bbd2b (diff)
Added method "getSelfRegion" to Store. This method returns the region associated with the "this" or "self" object (C++ and Objective-C respectively).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58107 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicObjCFoundationChecks.cpp')
-rw-r--r--lib/Analysis/BasicObjCFoundationChecks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/BasicObjCFoundationChecks.cpp b/lib/Analysis/BasicObjCFoundationChecks.cpp
index 96a7ea1c16..033dc02cd7 100644
--- a/lib/Analysis/BasicObjCFoundationChecks.cpp
+++ b/lib/Analysis/BasicObjCFoundationChecks.cpp
@@ -508,7 +508,7 @@ bool AuditCFNumberCreate::Audit(ExplodedNode<GRState>* N,GRStateManager&){
return false;
- QualType T = Ctx.getCanonicalType(R->getType());
+ QualType T = Ctx.getCanonicalType(R->getType(Ctx));
// FIXME: If the pointee isn't an integer type, should we flag a warning?
// People can do weird stuff with pointers.