aboutsummaryrefslogtreecommitdiff
path: root/lib/GR/Checkers/CheckSecuritySyntaxOnly.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/CheckSecuritySyntaxOnly.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/CheckSecuritySyntaxOnly.cpp')
-rw-r--r--lib/GR/Checkers/CheckSecuritySyntaxOnly.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/GR/Checkers/CheckSecuritySyntaxOnly.cpp b/lib/GR/Checkers/CheckSecuritySyntaxOnly.cpp
index bdf18ca760..ea658e3984 100644
--- a/lib/GR/Checkers/CheckSecuritySyntaxOnly.cpp
+++ b/lib/GR/Checkers/CheckSecuritySyntaxOnly.cpp
@@ -18,6 +18,7 @@
#include "llvm/Support/raw_ostream.h"
using namespace clang;
+using namespace GR;
static bool isArc4RandomAvailable(const ASTContext &Ctx) {
const llvm::Triple &T = Ctx.Target.getTriple();
@@ -496,7 +497,7 @@ void WalkAST::CheckUncheckedReturnValue(CallExpr *CE) {
// Entry point for check.
//===----------------------------------------------------------------------===//
-void clang::CheckSecuritySyntaxOnly(const Decl *D, BugReporter &BR) {
+void GR::CheckSecuritySyntaxOnly(const Decl *D, BugReporter &BR) {
WalkAST walker(BR);
walker.Visit(D->getBody());
}