Alex Lorenz
858a847d27
[cxx-interop] use SWIFT_NOEXCEPT for Swift function prototypes
...
This will allow these functions to be used from C.
Also add a static_assert to verify that noexcept is actually used.
2022-03-13 11:08:32 -07:00
Alex Lorenz
2c2fa566d8
[cxx-interop][test] add %check-interop-cxx-header-in-clang test command substitution to parse and validated generated C++ header in multiple C++ language modes
...
This ensures that we validate C++14, C++17, and C++20
2022-03-11 20:51:24 -08:00
Alex Lorenz
ebcf2f707a
[interop] fixup the interop build test substitutions
2022-03-10 10:19:06 -08:00
Alex Lorenz
07a1f569c6
[interop] add target-interop-clangxx test expansion to build C++ file with /MD msvc mode
2022-03-10 09:27:05 -08:00
Alex Lorenz
846fdb5307
[interop] add target-build-swift-link-cxx option for windows to link correctly
2022-03-10 08:05:52 -08:00
Alex Lorenz
1d3b68208e
[interop][SwiftToC++] fix execution tests to hopefully link correctly on windows
2022-03-09 20:44:16 -08:00
Alex Lorenz
fcdcb2a9f1
[interop][SwiftToC++] print C++ interface for top-level Swift functions
2022-03-09 14:53:12 -08:00
Alex Lorenz
60902cbfa0
[interop] restructure Swift -> C++ interop tests
...
We will place tests that test the semantics and runtime of the generated
C++ code into Interop/SwiftToCxx. PrintCxx test directory will only be
used to test high level flow without concerning itself about the C++ semantics.
2022-01-24 10:51:52 -08:00