summaryrefslogtreecommitdiffstats
path: root/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/GR/Checkers/BasicObjCFoundationChecks.h')
-rw-r--r--clang/lib/GR/Checkers/BasicObjCFoundationChecks.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h b/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h
index 6ad850b9735..7fdccdcacb8 100644
--- a/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h
+++ b/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h
@@ -13,19 +13,24 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_CLANG_ANALYSIS_BASICOBJCFOUNDATIONCHECKS
-#define LLVM_CLANG_ANALYSIS_BASICOBJCFOUNDATIONCHECKS
+#ifndef LLVM_CLANG_GR_BASICOBJCFOUNDATIONCHECKS
+#define LLVM_CLANG_GR_BASICOBJCFOUNDATIONCHECKS
namespace clang {
class ASTContext;
-class BugReporter;
class Decl;
+
+namespace GR {
+
+class BugReporter;
class GRExprEngine;
void RegisterNSErrorChecks(BugReporter& BR, GRExprEngine &Eng, const Decl &D);
void RegisterNSAutoreleasePoolChecks(GRExprEngine &Eng);
+} // end GR namespace
+
} // end clang namespace
#endif
OpenPOWER on IntegriCloud