diff options
Diffstat (limited to 'clang/lib/GR/Checkers/NSAutoreleasePoolChecker.cpp')
| -rw-r--r-- | clang/lib/GR/Checkers/NSAutoreleasePoolChecker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/GR/Checkers/NSAutoreleasePoolChecker.cpp b/clang/lib/GR/Checkers/NSAutoreleasePoolChecker.cpp index d8225a7e4e7..d6701c7142c 100644 --- a/clang/lib/GR/Checkers/NSAutoreleasePoolChecker.cpp +++ b/clang/lib/GR/Checkers/NSAutoreleasePoolChecker.cpp @@ -23,6 +23,7 @@ #include "clang/AST/Decl.h" using namespace clang; +using namespace GR; namespace { class NSAutoreleasePoolChecker @@ -44,7 +45,7 @@ public: } // end anonymous namespace -void clang::RegisterNSAutoreleasePoolChecks(GRExprEngine &Eng) { +void GR::RegisterNSAutoreleasePoolChecks(GRExprEngine &Eng) { ASTContext &Ctx = Eng.getContext(); if (Ctx.getLangOptions().getGCMode() != LangOptions::NonGC) { Eng.registerCheck(new NSAutoreleasePoolChecker(GetNullarySelector("release", |

