summaryrefslogtreecommitdiffstats
path: root/clang/lib/GR/Checkers/CheckObjCInstMethSignature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/GR/Checkers/CheckObjCInstMethSignature.cpp')
-rw-r--r--clang/lib/GR/Checkers/CheckObjCInstMethSignature.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/GR/Checkers/CheckObjCInstMethSignature.cpp b/clang/lib/GR/Checkers/CheckObjCInstMethSignature.cpp
index 2b83d13e759..b2be375f107 100644
--- a/clang/lib/GR/Checkers/CheckObjCInstMethSignature.cpp
+++ b/clang/lib/GR/Checkers/CheckObjCInstMethSignature.cpp
@@ -24,6 +24,7 @@
#include "llvm/Support/raw_ostream.h"
using namespace clang;
+using namespace GR;
static bool AreTypesCompatible(QualType Derived, QualType Ancestor,
ASTContext& C) {
@@ -69,8 +70,8 @@ static void CompareReturnTypes(const ObjCMethodDecl *MethDerived,
}
}
-void clang::CheckObjCInstMethSignature(const ObjCImplementationDecl* ID,
- BugReporter& BR) {
+void GR::CheckObjCInstMethSignature(const ObjCImplementationDecl* ID,
+ BugReporter& BR) {
const ObjCInterfaceDecl* D = ID->getClassInterface();
const ObjCInterfaceDecl* C = D->getSuperClass();
OpenPOWER on IntegriCloud