aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/AnalysisDeclContext.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2014-03-23 17:12:37 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2014-03-23 17:12:37 +0000
commitfb744589bc493855e6777ba16637ae9164d60da1 (patch)
tree92d890ec5d20e618cb66159dd37ac03fabe54615 /clang/lib/Analysis/AnalysisDeclContext.cpp
parent31617266eae462d4a166db0db5aba8dd789981d4 (diff)
downloadllvm-fb744589bc493855e6777ba16637ae9164d60da1.zip
llvm-fb744589bc493855e6777ba16637ae9164d60da1.tar.gz
llvm-fb744589bc493855e6777ba16637ae9164d60da1.tar.bz2
remove a bunch of unused private methods
found with a smarter version of -Wunused-member-function that I'm playwing with. Appologies in advance if I removed someone's WIP code. ARCMigrate/TransProperties.cpp | 8 ----- AST/MicrosoftMangle.cpp | 1 Analysis/AnalysisDeclContext.cpp | 5 --- Analysis/LiveVariables.cpp | 14 ---------- Index/USRGeneration.cpp | 10 ------- Sema/Sema.cpp | 33 +++++++++++++++++++++--- Sema/SemaChecking.cpp | 3 -- Sema/SemaDecl.cpp | 20 ++------------ StaticAnalyzer/Checkers/GenericTaintChecker.cpp | 1 9 files changed, 34 insertions(+), 61 deletions(-) llvm-svn: 204561
Diffstat (limited to 'clang/lib/Analysis/AnalysisDeclContext.cpp')
-rw-r--r--clang/lib/Analysis/AnalysisDeclContext.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Analysis/AnalysisDeclContext.cpp b/clang/lib/Analysis/AnalysisDeclContext.cpp
index 13f74ae..c90d947 100644
--- a/clang/lib/Analysis/AnalysisDeclContext.cpp
+++ b/clang/lib/Analysis/AnalysisDeclContext.cpp
@@ -458,11 +458,6 @@ public:
BumpVectorContext &bc)
: BEVals(bevals), BC(bc) {}
- bool IsTrackedDecl(const VarDecl *VD) {
- const DeclContext *DC = VD->getDeclContext();
- return IgnoredContexts.count(DC) == 0;
- }
-
void VisitStmt(Stmt *S) {
for (Stmt::child_range I = S->children(); I; ++I)
if (Stmt *child = *I)