summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2018-06-04 09:04:12 +0000
committerEric Liu <ioeric@google.com>2018-06-04 09:04:12 +0000
commit44564ac7eb4d864ef15fa28281d15060f75b5f07 (patch)
treed16cb007264776853a919acfa3bc58b7faf56125 /clang/lib/Format
parentd0a6f6a5021d4e68672fb74019a9a770cbf17ce4 (diff)
downloadbcm5719-llvm-44564ac7eb4d864ef15fa28281d15060f75b5f07.tar.gz
bcm5719-llvm-44564ac7eb4d864ef15fa28281d15060f75b5f07.zip
Reland "Move #include manipulation code to new lib/Tooling/Inclusions."
This reverts commit r333534 (i.e. reland r332720) after fixing module build. Differential Revision: https://reviews.llvm.org/D47068 llvm-svn: 333874
Diffstat (limited to 'clang/lib/Format')
-rw-r--r--clang/lib/Format/CMakeLists.txt1
-rw-r--r--clang/lib/Format/Format.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Format/CMakeLists.txt b/clang/lib/Format/CMakeLists.txt
index 42e6d53d9fe..0019d045cd0 100644
--- a/clang/lib/Format/CMakeLists.txt
+++ b/clang/lib/Format/CMakeLists.txt
@@ -20,4 +20,5 @@ add_clang_library(clangFormat
clangBasic
clangLex
clangToolingCore
+ clangToolingInclusions
)
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index c6de92b3caf..d1a5dc8e6c6 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -31,7 +31,7 @@
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/VirtualFileSystem.h"
#include "clang/Lex/Lexer.h"
-#include "clang/Tooling/Core/HeaderIncludes.h"
+#include "clang/Tooling/Inclusions/HeaderIncludes.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
OpenPOWER on IntegriCloud