diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-15 01:15:58 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-08-15 01:15:58 +0000 |
| commit | 1cec2cc798f526da2960b93d73184a9238bf65e7 (patch) | |
| tree | 1dbf87e2439f6fec787d78539cdf7253bc500c06 /clang/lib/AST/ASTContext.cpp | |
| parent | c99bab034c44162820e641058ba9af3d30ea799b (diff) | |
| download | bcm5719-llvm-1cec2cc798f526da2960b93d73184a9238bf65e7.tar.gz bcm5719-llvm-1cec2cc798f526da2960b93d73184a9238bf65e7.zip | |
Remove dead code, caught by unused function warnings.
llvm-svn: 111091
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 3ec4ae7dc10..adb75f0f61e 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -463,20 +463,6 @@ void ASTContext::addOverriddenMethod(const CXXMethodDecl *Method, OverriddenMethods[Method].push_back(Overridden); } -namespace { - class BeforeInTranslationUnit - : std::binary_function<SourceRange, SourceRange, bool> { - SourceManager *SourceMgr; - - public: - explicit BeforeInTranslationUnit(SourceManager *SM) : SourceMgr(SM) { } - - bool operator()(SourceRange X, SourceRange Y) { - return SourceMgr->isBeforeInTranslationUnit(X.getBegin(), Y.getBegin()); - } - }; -} - //===----------------------------------------------------------------------===// // Type Sizing and Analysis //===----------------------------------------------------------------------===// |

