File tree Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Expand file tree Collapse file tree 4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 16
16
// Do not add other C++/llvm/swift header files here!
17
17
// Function implementations should be placed into ASTBridging.cpp and required header files should be added there.
18
18
//
19
+ // Pure bridging mode does not permit including any C++/llvm/swift headers.
20
+ // See also the comments for `BRIDGING_MODE` in the top-level CMakeLists.txt file.
21
+ //
19
22
#include " swift/Basic/BasicBridging.h"
20
23
21
24
#ifdef USED_IN_CPP_SOURCE
Original file line number Diff line number Diff line change 20
20
// Do not add other C++/llvm/swift header files here!
21
21
// Function implementations should be placed into BasicBridging.cpp and required header files should be added there.
22
22
//
23
+ // Pure bridging mode does not permit including any C++/llvm/swift headers.
24
+ // See also the comments for `BRIDGING_MODE` in the top-level CMakeLists.txt file.
25
+ //
23
26
#include " swift/Basic/BridgedSwiftObject.h"
24
27
#include " swift/Basic/Compiler.h"
25
28
Original file line number Diff line number Diff line change 17
17
// Function implementations should be placed into SILBridgingImpl.h or SILBridging.cpp and
18
18
// required header files should be added there.
19
19
//
20
+ // Pure bridging mode does not permit including any C++/llvm/swift headers.
21
+ // See also the comments for `BRIDGING_MODE` in the top-level CMakeLists.txt file.
22
+ //
20
23
#include " swift/AST/ASTBridging.h"
21
24
22
25
#ifdef USED_IN_CPP_SOURCE
Original file line number Diff line number Diff line change 17
17
// Function implementations should be placed into OptimizerBridgingImpl.h or PassManager.cpp
18
18
// (under OptimizerBridging) andrequired header files should be added there.
19
19
//
20
+ // Pure bridging mode does not permit including any C++/llvm/swift headers.
21
+ // See also the comments for `BRIDGING_MODE` in the top-level CMakeLists.txt file.
22
+ //
20
23
#include " swift/AST/ASTBridging.h"
21
24
#include " swift/SIL/SILBridging.h"
22
25
26
29
27
30
#else // USED_IN_CPP_SOURCE
28
31
32
+ // Pure bridging mode does not permit including any C++/llvm/swift headers.
33
+ // See also the comments for `BRIDGING_MODE` in the top-level CMakeLists.txt file.
29
34
#ifdef SWIFT_SIL_SILVALUE_H
30
35
#error "should not include swift headers into bridging header"
31
36
#endif
You can’t perform that action at this time.
0 commit comments