Disabled an invalid fix-it which suggested fixes to be applied in system headers for some programs in IDEs like Xcode.
rdar://100890960
Differential D141868
[Clang] [Sema] Removed a fix-it for system headers fahadnayyar on Jan 16 2023, 11:46 AM. Authored by
Details Disabled an invalid fix-it which suggested fixes to be applied in system headers for some programs in IDEs like Xcode. rdar://100890960
Diff Detail
Event TimelineComment Actions Looks great! Sounds like you're looking for a more permanent fix, I guess ConversionFixItGenerator could try to avoid adding fixits to system header functions?
Comment Actions You should also add a release note for the changes.
Comment Actions It probably requires some larger rearchitecturing of the FixItGeneration implementation to avoid system headers for all kinds of FixitHints like ConversionFixIt. We can do that later as a separate patch after getting some more examples where fixits are suggested for system headers. Done! |
Let's drop the rdar link as that's not helpful for anyone outside of Apple.