diff options
author | Steve Naroff <snaroff@apple.com> | 2009-07-16 15:41:00 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-07-16 15:41:00 +0000 |
commit | 79d1215d83b14d26ef7dd287eced32849a44a524 (patch) | |
tree | 766f70e11be9ecc163ca5585485716f32553bac8 /clang/lib/Analysis/GRExprEngineInternalChecks.cpp | |
parent | 559835f0267418da725f3ddce7338ca8d848a2cb (diff) | |
download | bcm5719-llvm-79d1215d83b14d26ef7dd287eced32849a44a524.tar.gz bcm5719-llvm-79d1215d83b14d26ef7dd287eced32849a44a524.zip |
Remove ASTContext::isObjCObjectPointerType().
Convert all clients to use the new predicate on Type.
llvm-svn: 76076
Diffstat (limited to 'clang/lib/Analysis/GRExprEngineInternalChecks.cpp')
-rw-r--r-- | clang/lib/Analysis/GRExprEngineInternalChecks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/GRExprEngineInternalChecks.cpp b/clang/lib/Analysis/GRExprEngineInternalChecks.cpp index a2ce79a2f39..bb35274cb55 100644 --- a/clang/lib/Analysis/GRExprEngineInternalChecks.cpp +++ b/clang/lib/Analysis/GRExprEngineInternalChecks.cpp @@ -718,7 +718,7 @@ public: ASTContext &C = BRC.getASTContext(); if (R->isBoundable()) { if (const TypedRegion *TR = dyn_cast<TypedRegion>(R)) { - if (C.isObjCObjectPointerType(TR->getValueType(C))) { + if (TR->getValueType(C)->isObjCObjectPointerType()) { os << "initialized to nil"; b = true; } @@ -749,7 +749,7 @@ public: ASTContext &C = BRC.getASTContext(); if (R->isBoundable()) { if (const TypedRegion *TR = dyn_cast<TypedRegion>(R)) { - if (C.isObjCObjectPointerType(TR->getValueType(C))) { + if (TR->getValueType(C)->isObjCObjectPointerType()) { os << "nil object reference stored to "; b = true; } |