swiftlang / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Swift’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.12k stars 331 forks source link

[lldb] Check if interop is enabled only on compile unit #9144

Closed augusto2112 closed 2 months ago

augusto2112 commented 2 months ago

When deciding whether to format a C++ type as a Swiftified type or not, checking if Swift/C++ interop is enabled on the entire target can be very expensive for big projects, and may not swiftify types that should be.

rdar://117708944 (cherry picked from commit fe06ebc96d94076cdf6bad599556ba3dbbd97f8d)