Files
swift-mirror/lib/ClangImporter/ImportName.cpp
Egor Zhdan 237a68c7b5 [cxx-interop] Do not import arithmetic operators with rvalue reference parameters
Currently those operators are imported with a `consuming:` label, which isn't valid in Swift.

We could just remove the label from these parameters, but that introduces a source breakage due to name lookup ambiguity.

So, to avoid ambiguity, let's not import such operators into Swift.

rdar://149020099
(cherry picked from commit eb7adc794d)
2025-04-14 11:28:09 +01:00

96 KiB