File tree Expand file tree Collapse file tree 4 files changed +16
-5
lines changed
include/swift/APIDigester Expand file tree Collapse file tree 4 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 17
17
#ifndef __SWIFT_ABI_DIGESTER_MODULE_NODES_H__
18
18
#define __SWIFT_ABI_DIGESTER_MODULE_NODES_H__
19
19
20
- #include " clang/AST/ASTContext.h"
21
- #include " clang/AST/DeclObjC.h"
22
- #include " clang/Lex/Preprocessor.h"
23
- #include " clang/Sema/Lookup.h"
24
- #include " clang/Sema/Sema.h"
25
20
#include " llvm/ADT/TinyPtrVector.h"
26
21
#include " llvm/ADT/STLExtras.h"
27
22
#include " llvm/Support/CommandLine.h"
Original file line number Diff line number Diff line change @@ -7,4 +7,10 @@ add_swift_host_library(swiftAPIDigester STATIC
7
7
target_link_libraries (swiftAPIDigester PRIVATE
8
8
swiftIDE )
9
9
10
+ # Clang dependencies. These are private because APIDigester's public
11
+ # interface does not use Clang symbols.
12
+ target_link_libraries (swiftAPIDigester PRIVATE
13
+ clangAST
14
+ clangLex )
15
+
10
16
set_swift_llvm_is_available (swiftAPIDigester )
Original file line number Diff line number Diff line change 3
3
#include " swift/Basic/Defer.h"
4
4
#include " swift/Parse/Lexer.h"
5
5
#include " swift/Sema/IDETypeChecking.h"
6
+ #include " clang/AST/DeclObjC.h"
7
+ #include " clang/Lex/Preprocessor.h"
6
8
#include " llvm/ADT/STLExtras.h"
7
9
#include < algorithm>
8
10
#include < swift/APIDigester/ModuleAnalyzerNodes.h>
Original file line number Diff line number Diff line change @@ -46,6 +46,14 @@ target_link_libraries(swiftIDE PRIVATE
46
46
swiftParse
47
47
swiftSema )
48
48
49
+ # Clang dependencies. These are private because IDE's public
50
+ # interface does not use Clang symbols.
51
+ target_link_libraries (swiftIDE PRIVATE
52
+ clangAST
53
+ clangBasic
54
+ clangIndex
55
+ clangLex )
56
+
49
57
if (SWIFT_BUILD_SWIFT_SYNTAX )
50
58
target_link_libraries (swiftIDE PRIVATE
51
59
swiftIDEUtilsBridging
You can’t perform that action at this time.
0 commit comments