[PATCH] D146669: [-Wunsafe-buffer-usage] Hide fixits/suggestions behind an extra flag, -fsafe-buffer-usage-suggestions.

Rashmi Mudduluru via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 23 12:43:16 PDT 2023


t-rasmud added inline comments.


================
Comment at: clang/lib/Sema/AnalysisBasedWarnings.cpp:2159
   Sema &S;
+  bool SuggestSuggestions;
 
----------------
Was there a reason for naming this variable SuggestSuggestions? Can this be called EmitSuggestions? I think that would make it uniform and easy to follow the code.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146669/new/

https://reviews.llvm.org/D146669



More information about the cfe-commits mailing list