r220878 - clang-format: Cut more clangAST dependencies.
Daniel Jasper
djasper at google.com
Wed Oct 29 15:42:53 PDT 2014
Author: djasper
Date: Wed Oct 29 17:42:53 2014
New Revision: 220878
URL: http://llvm.org/viewvc/llvm-project?rev=220878&view=rev
Log:
clang-format: Cut more clangAST dependencies.
Hopefully fixing windows builds.
Modified:
cfe/trunk/include/clang/Format/Format.h
cfe/trunk/tools/clang-format/ClangFormat.cpp
Modified: cfe/trunk/include/clang/Format/Format.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Format/Format.h?rev=220878&r1=220877&r2=220878&view=diff
==============================================================================
--- cfe/trunk/include/clang/Format/Format.h (original)
+++ cfe/trunk/include/clang/Format/Format.h Wed Oct 29 17:42:53 2014
@@ -15,8 +15,10 @@
#ifndef LLVM_CLANG_FORMAT_FORMAT_H
#define LLVM_CLANG_FORMAT_FORMAT_H
-#include "clang/Frontend/FrontendAction.h"
-#include "clang/Tooling/Refactoring.h"
+#include "clang/Basic/LangOptions.h"
+#include "clang/Tooling/Core/Replacement.h"
+#include "llvm/ADT/ArrayRef.h"
+#include <stack>
#include <system_error>
namespace clang {
Modified: cfe/trunk/tools/clang-format/ClangFormat.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/ClangFormat.cpp?rev=220878&r1=220877&r2=220878&view=diff
==============================================================================
--- cfe/trunk/tools/clang-format/ClangFormat.cpp (original)
+++ cfe/trunk/tools/clang-format/ClangFormat.cpp Wed Oct 29 17:42:53 2014
@@ -21,6 +21,7 @@
#include "clang/Format/Format.h"
#include "clang/Rewrite/Core/Rewriter.h"
#include "llvm/ADT/StringMap.h"
+#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Signals.h"
More information about the cfe-commits
mailing list