You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reject Objective-C types in SwiftLanguage::GetPossibleFormattersMatches()
This mostly NFC commit avoids redundant work when formatting
Objective-C(++) types, especially in Objective-C contexts. LLDB tries
to format all Objective-C and Swift types in both languages. However
the formatting of Objective-C types in Swift effectively just wraps
the Objective-C type and the end result is the same as if we just
formatted the type as Objective-C to begin with.
Due to the incomplete ClangImporter implementation for C++ this this
could also lead to crashes that can be avoided by just formatting ObjC
types as Objective-C.
rdar://75030678
0 commit comments