[clang-tools-extra] r269036 - [include-fixer] Remove unused includes and accessor.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Tue May 10 03:12:00 PDT 2016


Author: d0k
Date: Tue May 10 05:12:00 2016
New Revision: 269036

URL: http://llvm.org/viewvc/llvm-project?rev=269036&view=rev
Log:
[include-fixer] Remove unused includes and accessor.

Modified:
    clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp

Modified: clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp?rev=269036&r1=269035&r2=269036&view=diff
==============================================================================
--- clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp (original)
+++ clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp Tue May 10 05:12:00 2016
@@ -9,11 +9,9 @@
 
 #include "IncludeFixer.h"
 #include "clang/Frontend/CompilerInstance.h"
-#include "clang/Frontend/TextDiagnosticPrinter.h"
 #include "clang/Lex/HeaderSearch.h"
 #include "clang/Lex/Preprocessor.h"
 #include "clang/Parse/ParseAST.h"
-#include "clang/Rewrite/Core/Rewriter.h"
 #include "clang/Sema/ExternalSemaSource.h"
 #include "clang/Sema/Sema.h"
 #include "llvm/Support/Debug.h"
@@ -216,9 +214,6 @@ public:
     return true;
   }
 
-  /// Gets the location at the very top of the file.
-  clang::SourceLocation file_begin() const { return FileBegin; }
-
   /// Sets the location at the very top of the file.
   void setFileBegin(clang::SourceLocation Location) { FileBegin = Location; }
 




More information about the cfe-commits mailing list