summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-08-20 01:15:28 +0000
committerTed Kremenek <kremenek@apple.com>2011-08-20 01:15:28 +0000
commit417d566775d923a55fbe9451533dc17ebfad9e7e (patch)
treea606f2013092386852580e277d94d860b991b492 /clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
parente480b1ef3db1085212db58f467d810a67458b6d6 (diff)
downloadbcm5719-llvm-417d566775d923a55fbe9451533dc17ebfad9e7e.tar.gz
bcm5719-llvm-417d566775d923a55fbe9451533dc17ebfad9e7e.zip
Remove dead code.
llvm-svn: 138183
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp b/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
index b69c1a33660..c4c37779263 100644
--- a/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp
@@ -52,7 +52,6 @@ public:
void VisitChildren(Stmt *S);
// Helpers.
- IdentifierInfo *getIdentifier(IdentifierInfo *& II, const char *str);
bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
typedef void (WalkAST::*FnCheck)(const CallExpr *,
@@ -72,17 +71,6 @@ public:
} // end anonymous namespace
//===----------------------------------------------------------------------===//
-// Helper methods.
-//===----------------------------------------------------------------------===//
-
-IdentifierInfo *WalkAST::getIdentifier(IdentifierInfo *& II, const char *str) {
- if (!II)
- II = &BR.getContext().Idents.get(str);
-
- return II;
-}
-
-//===----------------------------------------------------------------------===//
// AST walking.
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud