aboutsummaryrefslogtreecommitdiff
path: root/lib/GR/Checkers/ArrayBoundChecker.cpp
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
commit5a4f98ff943e6a501b0fe47ade007c9bbf96cb88 (patch)
treeb6c6c22c073c7c51e497c9158fca08ab0e58f944 /lib/GR/Checkers/ArrayBoundChecker.cpp
parenta7af5ea88a6c5bdf87497cca6c20831e8c546751 (diff)
[analyzer] Refactoring: Move stuff into namespace 'GR'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/GR/Checkers/ArrayBoundChecker.cpp')
-rw-r--r--lib/GR/Checkers/ArrayBoundChecker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/GR/Checkers/ArrayBoundChecker.cpp b/lib/GR/Checkers/ArrayBoundChecker.cpp
index a36e13e4fe..f97adf3d14 100644
--- a/lib/GR/Checkers/ArrayBoundChecker.cpp
+++ b/lib/GR/Checkers/ArrayBoundChecker.cpp
@@ -18,6 +18,7 @@
#include "clang/GR/PathSensitive/GRExprEngine.h"
using namespace clang;
+using namespace GR;
namespace {
class ArrayBoundChecker :
@@ -30,7 +31,7 @@ public:
};
}
-void clang::RegisterArrayBoundChecker(GRExprEngine &Eng) {
+void GR::RegisterArrayBoundChecker(GRExprEngine &Eng) {
Eng.registerCheck(new ArrayBoundChecker());
}