[cfe-commits] r149784 - /cfe/trunk/include/clang/Frontend/Utils.h
Benjamin Kramer
benny.kra at googlemail.com
Sat Feb 4 06:09:30 PST 2012
Author: d0k
Date: Sat Feb 4 08:09:30 2012
New Revision: 149784
URL: http://llvm.org/viewvc/llvm-project?rev=149784&view=rev
Log:
Don't include Diagnostics.h twice when it's required zero times.
Modified:
cfe/trunk/include/clang/Frontend/Utils.h
Modified: cfe/trunk/include/clang/Frontend/Utils.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/Utils.h?rev=149784&r1=149783&r2=149784&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/Utils.h (original)
+++ cfe/trunk/include/clang/Frontend/Utils.h Sat Feb 4 08:09:30 2012
@@ -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;
}
More information about the cfe-commits
mailing list