]> granicus.if.org Git - clang/commitdiff
clang-format: Cut more clangAST dependencies.
authorDaniel Jasper <djasper@google.com>
Wed, 29 Oct 2014 22:42:53 +0000 (22:42 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 29 Oct 2014 22:42:53 +0000 (22:42 +0000)
Hopefully fixing windows builds.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220878 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Format/Format.h
tools/clang-format/ClangFormat.cpp

index 286a669ac9a0ce86bbdf8f79647ade28dc988368..12928559af3812bb63e0479a9e84834973d4f8d3 100644 (file)
 #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 {
index 614d9cd4bdd44edf72d36861d6e560273af8c8bc..3e1c4ec4653dad79d470b35a018a35b7cdd94003 100644 (file)
@@ -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"