diff options
Diffstat (limited to 'clang/lib/GR/Checkers/CheckObjCDealloc.cpp')
| -rw-r--r-- | clang/lib/GR/Checkers/CheckObjCDealloc.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/GR/Checkers/CheckObjCDealloc.cpp b/clang/lib/GR/Checkers/CheckObjCDealloc.cpp index c3d511ba025..f8ec7f6edab 100644 --- a/clang/lib/GR/Checkers/CheckObjCDealloc.cpp +++ b/clang/lib/GR/Checkers/CheckObjCDealloc.cpp @@ -23,6 +23,7 @@ #include "llvm/Support/raw_ostream.h" using namespace clang; +using namespace GR; static bool scan_dealloc(Stmt* S, Selector Dealloc) { @@ -93,8 +94,8 @@ static bool scan_ivar_release(Stmt* S, ObjCIvarDecl* ID, return false; } -void clang::CheckObjCDealloc(const ObjCImplementationDecl* D, - const LangOptions& LOpts, BugReporter& BR) { +void GR::CheckObjCDealloc(const ObjCImplementationDecl* D, + const LangOptions& LOpts, BugReporter& BR) { assert (LOpts.getGCMode() != LangOptions::GCOnly); |

