aboutsummaryrefslogtreecommitdiff
path: root/lib/GR/Checkers/ArrayBoundChecker.cpp
diff options
context:
space:
mode:
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());
}