summaryrefslogtreecommitdiffstats
path: root/clang/lib/GR/Checkers/BasicObjCFoundationChecks.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-12-22 18:53:20 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-12-22 18:53:20 +0000
commitca08fba4141f1d3ae6193b3c81fb6ba8fb10d7dc (patch)
treef698b3925e75c9dd7191c220008b8e569fa6f083 /clang/lib/GR/Checkers/BasicObjCFoundationChecks.h
parenta700e976b658860418bc145ec0bdacd4f1db3264 (diff)
downloadbcm5719-llvm-ca08fba4141f1d3ae6193b3c81fb6ba8fb10d7dc.tar.gz
bcm5719-llvm-ca08fba4141f1d3ae6193b3c81fb6ba8fb10d7dc.zip
[analyzer] Refactoring: Move stuff into namespace 'GR'.
llvm-svn: 122423
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