File tree Expand file tree Collapse file tree 11 files changed +26
-15
lines changed Expand file tree Collapse file tree 11 files changed +26
-15
lines changed Original file line number Diff line number Diff line change 16
16
#define LLVM_CLANG_FORMAT_FORMAT_H
17
17
18
18
#include " clang/Basic/LangOptions.h"
19
- #include " clang/Tooling/Core/IncludeStyle.h"
20
19
#include " clang/Tooling/Core/Replacement.h"
20
+ #include " clang/Tooling/Inclusions/IncludeStyle.h"
21
21
#include " llvm/ADT/ArrayRef.h"
22
22
#include " llvm/Support/Regex.h"
23
23
#include < system_error>
Original file line number Diff line number Diff line change 7
7
//
8
8
// ===----------------------------------------------------------------------===//
9
9
10
- #ifndef LLVM_CLANG_TOOLING_CORE_HEADERINCLUDES_H
11
- #define LLVM_CLANG_TOOLING_CORE_HEADERINCLUDES_H
10
+ #ifndef LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H
11
+ #define LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H
12
12
13
13
#include " clang/Basic/SourceManager.h"
14
14
#include " clang/Tooling/Core/Replacement.h"
15
- #include " clang/Tooling/Core /IncludeStyle.h"
15
+ #include " clang/Tooling/Inclusions /IncludeStyle.h"
16
16
#include " llvm/Support/Path.h"
17
17
#include " llvm/Support/Regex.h"
18
18
#include < unordered_map>
@@ -134,4 +134,4 @@ class HeaderIncludes {
134
134
} // namespace tooling
135
135
} // namespace clang
136
136
137
- #endif // LLVM_CLANG_TOOLING_CORE_HEADERINCLUDES_H
137
+ #endif // LLVM_CLANG_TOOLING_INCLUSIONS_HEADERINCLUDES_H
Original file line number Diff line number Diff line change 7
7
//
8
8
// ===----------------------------------------------------------------------===//
9
9
10
- #ifndef LLVM_CLANG_TOOLING_CORE_INCLUDESTYLE_H
11
- #define LLVM_CLANG_TOOLING_CORE_INCLUDESTYLE_H
10
+ #ifndef LLVM_CLANG_TOOLING_INCLUSIONS_INCLUDESTYLE_H
11
+ #define LLVM_CLANG_TOOLING_INCLUSIONS_INCLUDESTYLE_H
12
12
13
13
#include " llvm/Support/YAMLTraits.h"
14
14
#include < string>
@@ -130,4 +130,4 @@ struct ScalarEnumerationTraits<
130
130
} // namespace yaml
131
131
} // namespace llvm
132
132
133
- #endif // LLVM_CLANG_TOOLING_CORE_INCLUDESTYLE_H
133
+ #endif // LLVM_CLANG_TOOLING_INCLUSIONS_INCLUDESTYLE_H
Original file line number Diff line number Diff line change @@ -20,4 +20,5 @@ add_clang_library(clangFormat
20
20
clangBasic
21
21
clangLex
22
22
clangToolingCore
23
+ clangToolingInclusions
23
24
)
Original file line number Diff line number Diff line change 31
31
#include " clang/Basic/SourceManager.h"
32
32
#include " clang/Basic/VirtualFileSystem.h"
33
33
#include " clang/Lex/Lexer.h"
34
- #include " clang/Tooling/Core /HeaderIncludes.h"
34
+ #include " clang/Tooling/Inclusions /HeaderIncludes.h"
35
35
#include " llvm/ADT/STLExtras.h"
36
36
#include " llvm/ADT/StringRef.h"
37
37
#include " llvm/Support/Allocator.h"
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS
4
4
)
5
5
6
6
add_subdirectory (Core )
7
+ add_subdirectory (Inclusions )
7
8
add_subdirectory (Refactoring )
8
9
add_subdirectory (ASTDiff )
9
10
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ set(LLVM_LINK_COMPONENTS support)
2
2
3
3
add_clang_library (clangToolingCore
4
4
Diagnostic.cpp
5
- HeaderIncludes.cpp
6
- IncludeStyle.cpp
7
5
Lookup.cpp
8
6
Replacement.cpp
9
7
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS support )
2
+
3
+ add_clang_library (clangToolingInclusions
4
+ HeaderIncludes.cpp
5
+ IncludeStyle.cpp
6
+
7
+ LINK_LIBS
8
+ clangBasic
9
+ clangLex
10
+ clangRewrite
11
+ clangToolingCore
12
+ )
Original file line number Diff line number Diff line change 7
7
//
8
8
// ===----------------------------------------------------------------------===//
9
9
10
- #include " clang/Tooling/Core /HeaderIncludes.h"
10
+ #include " clang/Tooling/Inclusions /HeaderIncludes.h"
11
11
#include " clang/Basic/SourceManager.h"
12
12
#include " clang/Lex/Lexer.h"
13
13
Original file line number Diff line number Diff line change 7
7
//
8
8
// ===----------------------------------------------------------------------===//
9
9
10
- #include " clang/Tooling/Core/IncludeStyle.h"
11
-
10
+ #include " clang/Tooling/Inclusions/IncludeStyle.h"
12
11
13
12
using clang::tooling::IncludeStyle;
14
13
Original file line number Diff line number Diff line change 7
7
//
8
8
// ===----------------------------------------------------------------------===//
9
9
10
- #include " clang/Tooling/Core /HeaderIncludes.h"
10
+ #include " clang/Tooling/Inclusions /HeaderIncludes.h"
11
11
#include " ../Tooling/ReplacementTest.h"
12
12
#include " ../Tooling/RewriterTestContext.h"
13
13
#include " clang/Format/Format.h"
You can’t perform that action at this time.
0 commit comments