From: Benjamin Kramer Date: Sat, 4 Feb 2012 14:09:30 +0000 (+0000) Subject: Don't include Diagnostics.h twice when it's required zero times. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e033a7cc58f92c5351a66efc62e9e9253201c12;p=clang Don't include Diagnostics.h twice when it's required zero times. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149784 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Frontend/Utils.h b/include/clang/Frontend/Utils.h index fd0ddda85e..26cda55581 100644 --- a/include/clang/Frontend/Utils.h +++ b/include/clang/Frontend/Utils.h @@ -14,14 +14,12 @@ #ifndef LLVM_CLANG_FRONTEND_UTILS_H #define LLVM_CLANG_FRONTEND_UTILS_H -#include "clang/Basic/Diagnostic.h" -#include "llvm/ADT/StringRef.h" -#include "llvm/ADT/ArrayRef.h" +#include "clang/Basic/LLVM.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" -#include "llvm/Support/raw_ostream.h" -#include "clang/Basic/Diagnostic.h" +#include "llvm/ADT/StringRef.h" namespace llvm { +class raw_fd_ostream; class Triple; }