Commit Graph

2 Commits

Author SHA1 Message Date
Egor Zhdan
2c00ae939b [cxx-interop] Adjust a concepts test for rebranch
Clang now includes concepts in the mangled names of C++ functions: 4b163e343c

This adjusts the test to verify that we don't transitively emit the symbols referenced from the requires expression. Those symbols shouldn't be emitted because they are not executed.

rdar://127263407
2024-07-08 17:59:21 +01:00
Egor Zhdan
21745e52c4 [cxx-interop] Do not emit IR for C++20 requires expr
This fixes a compiler crash when emitting IR for a for-in loop over a C++ `std::vector` in C++20 mode.

rdar://108810356
2023-05-05 17:21:38 +01:00