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 1616// Do not add other C++/llvm/swift header files here!
1717// Function implementations should be placed into ASTBridging.cpp and required header files should be added there.
1818//
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+ //
1922#include " swift/Basic/BasicBridging.h"
2023
2124#ifdef USED_IN_CPP_SOURCE
Original file line number Diff line number Diff line change 2020// Do not add other C++/llvm/swift header files here!
2121// Function implementations should be placed into BasicBridging.cpp and required header files should be added there.
2222//
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+ //
2326#include " swift/Basic/BridgedSwiftObject.h"
2427#include " swift/Basic/Compiler.h"
2528
Original file line number Diff line number Diff line change 1717// Function implementations should be placed into SILBridgingImpl.h or SILBridging.cpp and
1818// required header files should be added there.
1919//
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+ //
2023#include " swift/AST/ASTBridging.h"
2124
2225#ifdef USED_IN_CPP_SOURCE
Original file line number Diff line number Diff line change 1717// Function implementations should be placed into OptimizerBridgingImpl.h or PassManager.cpp
1818// (under OptimizerBridging) andrequired header files should be added there.
1919//
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+ //
2023#include " swift/AST/ASTBridging.h"
2124#include " swift/SIL/SILBridging.h"
2225
2629
2730#else // USED_IN_CPP_SOURCE
2831
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.
2934#ifdef SWIFT_SIL_SILVALUE_H
3035#error "should not include swift headers into bridging header"
3136#endif
You can’t perform that action at this time.
0 commit comments