diff options
| author | Daniel Jasper <djasper@google.com> | 2014-10-29 22:42:53 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2014-10-29 22:42:53 +0000 |
| commit | 06dbac4be9e60ea2c759c9809ba9a3827bacfc17 (patch) | |
| tree | b41cee201ca221bd083013de17bd5aa9f333040c | |
| parent | aa244c4cc44bc81e1daca6835b640aa0ca327c33 (diff) | |
| download | bcm5719-llvm-06dbac4be9e60ea2c759c9809ba9a3827bacfc17.tar.gz bcm5719-llvm-06dbac4be9e60ea2c759c9809ba9a3827bacfc17.zip | |
clang-format: Cut more clangAST dependencies.
Hopefully fixing windows builds.
llvm-svn: 220878
| -rw-r--r-- | clang/include/clang/Format/Format.h | 6 | ||||
| -rw-r--r-- | clang/tools/clang-format/ClangFormat.cpp | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index 286a669ac9a..12928559af3 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -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 { diff --git a/clang/tools/clang-format/ClangFormat.cpp b/clang/tools/clang-format/ClangFormat.cpp index 614d9cd4bdd..3e1c4ec4653 100644 --- a/clang/tools/clang-format/ClangFormat.cpp +++ b/clang/tools/clang-format/ClangFormat.cpp @@ -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" |

