[C][Sema] -Wformat misleading idempotent FixItHint for scanning into const #133257
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
The following code:
https://godbolt.org/z/Gnqvq4Kvd
produces a
-Wformat
warning that has aFixItHint
attached, which does not actually change anything related to the code. Such a warning is a problem in interactive editors where the editor shows "fix available", and after applying the fix, the warning is still there.The text was updated successfully, but these errors were encountered: