diff options
| author | Nuno Lopes <nunoplopes@sapo.pt> | 2014-03-23 17:12:37 +0000 |
|---|---|---|
| committer | Nuno Lopes <nunoplopes@sapo.pt> | 2014-03-23 17:12:37 +0000 |
| commit | fb744589bc493855e6777ba16637ae9164d60da1 (patch) | |
| tree | 92d890ec5d20e618cb66159dd37ac03fabe54615 /clang/lib/ARCMigrate | |
| parent | 31617266eae462d4a166db0db5aba8dd789981d4 (diff) | |
| download | bcm5719-llvm-fb744589bc493855e6777ba16637ae9164d60da1.tar.gz bcm5719-llvm-fb744589bc493855e6777ba16637ae9164d60da1.zip | |
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/ARCMigrate')
| -rw-r--r-- | clang/lib/ARCMigrate/TransProperties.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/ARCMigrate/TransProperties.cpp b/clang/lib/ARCMigrate/TransProperties.cpp index 82d820e6ebb..e18da979f7f 100644 --- a/clang/lib/ARCMigrate/TransProperties.cpp +++ b/clang/lib/ARCMigrate/TransProperties.cpp @@ -347,14 +347,6 @@ private: return false; } - bool hasAllIvarsBacked(PropsTy &props) const { - for (PropsTy::iterator I = props.begin(), E = props.end(); I != E; ++I) - if (!isUserDeclared(I->IvarD)) - return false; - - return true; - } - // \brief Returns true if all declarations in the @property have GC __weak. bool hasGCWeak(PropsTy &props, SourceLocation atLoc) const { if (!Pass.isGCMigration()) |

