From ac8d6298a8ae9276412d8c054957dfa65a69eb14 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 19 May 2009 04:30:57 +0000 Subject: [PATCH] Clean up some unnecessary includes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72101 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGCall.cpp | 2 -- lib/Frontend/DependencyFile.cpp | 2 -- lib/Frontend/PrintPreprocessedOutput.cpp | 2 -- lib/Frontend/RewriteObjC.cpp | 2 -- lib/Frontend/Warnings.cpp | 2 +- 5 files changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index d253bb2ae1..22a234fea9 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -24,9 +24,7 @@ #include "llvm/ADT/StringExtras.h" #include "llvm/Attributes.h" #include "llvm/Support/CallSite.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Support/MathExtras.h" -#include "llvm/Support/raw_ostream.h" #include "llvm/Target/TargetData.h" #include "ABIInfo.h" diff --git a/lib/Frontend/DependencyFile.cpp b/lib/Frontend/DependencyFile.cpp index 4cee280ebf..c8a654cff2 100644 --- a/lib/Frontend/DependencyFile.cpp +++ b/lib/Frontend/DependencyFile.cpp @@ -19,8 +19,6 @@ #include "clang/Lex/DirectoryLookup.h" #include "clang/Basic/SourceLocation.h" #include "llvm/ADT/StringSet.h" -#include "llvm/System/Path.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/lib/Frontend/PrintPreprocessedOutput.cpp b/lib/Frontend/PrintPreprocessedOutput.cpp index 6a7ad31b53..d88e57d85d 100644 --- a/lib/Frontend/PrintPreprocessedOutput.cpp +++ b/lib/Frontend/PrintPreprocessedOutput.cpp @@ -22,8 +22,6 @@ #include "clang/Basic/Diagnostic.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringExtras.h" -#include "llvm/System/Path.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Config/config.h" #include "llvm/Support/raw_ostream.h" #include diff --git a/lib/Frontend/RewriteObjC.cpp b/lib/Frontend/RewriteObjC.cpp index 86f3037326..79ae08cee5 100644 --- a/lib/Frontend/RewriteObjC.cpp +++ b/lib/Frontend/RewriteObjC.cpp @@ -24,10 +24,8 @@ #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/OwningPtr.h" #include "llvm/Support/MemoryBuffer.h" -#include "llvm/Support/CommandLine.h" #include "llvm/Support/Streams.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/System/Path.h" using namespace clang; using llvm::utostr; diff --git a/lib/Frontend/Warnings.cpp b/lib/Frontend/Warnings.cpp index 8d6ca68de9..81f75bdf75 100644 --- a/lib/Frontend/Warnings.cpp +++ b/lib/Frontend/Warnings.cpp @@ -24,8 +24,8 @@ #include "clang/Basic/Diagnostic.h" #include "clang/Sema/SemaDiagnostic.h" #include "clang/Lex/LexDiagnostic.h" -#include "llvm/Support/CommandLine.h" #include +#include #include #include using namespace clang; -- 2.40.0