summaryrefslogtreecommitdiffstats
path: root/clang/lib/GR/Checkers/CheckSizeofPointer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/GR/Checkers/CheckSizeofPointer.cpp')
-rw-r--r--clang/lib/GR/Checkers/CheckSizeofPointer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/GR/Checkers/CheckSizeofPointer.cpp b/clang/lib/GR/Checkers/CheckSizeofPointer.cpp
index 4cf5eb70069..696dce2941d 100644
--- a/clang/lib/GR/Checkers/CheckSizeofPointer.cpp
+++ b/clang/lib/GR/Checkers/CheckSizeofPointer.cpp
@@ -17,6 +17,7 @@
#include "clang/GR/Checkers/LocalCheckers.h"
using namespace clang;
+using namespace GR;
namespace {
class WalkAST : public StmtVisitor<WalkAST> {
@@ -65,7 +66,7 @@ void WalkAST::VisitSizeOfAlignOfExpr(SizeOfAlignOfExpr *E) {
}
}
-void clang::CheckSizeofPointer(const Decl *D, BugReporter &BR) {
+void GR::CheckSizeofPointer(const Decl *D, BugReporter &BR) {
WalkAST walker(BR);
walker.Visit(D->getBody());
}
OpenPOWER on IntegriCloud