From 1cec2cc798f526da2960b93d73184a9238bf65e7 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sun, 15 Aug 2010 01:15:58 +0000 Subject: Remove dead code, caught by unused function warnings. llvm-svn: 111091 --- clang/lib/AST/ASTContext.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'clang/lib/AST/ASTContext.cpp') 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 { - 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 //===----------------------------------------------------------------------===// -- cgit v1.2.3