[PATCH] D141338: [-Wunsafe-buffer-usage] Filter out conflicting fix-its

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 3 13:45:27 PST 2023


NoQ accepted this revision.
NoQ added a comment.
This revision is now accepted and ready to land.

Looks great!



================
Comment at: clang/lib/Analysis/UnsafeBufferUsage.cpp:961
+    // a fix-it overlaps with macros; or
+    // a fix-it conflicts with another one
+    if (overlapWithMacro(FixItsForVariable[VD]) ||
----------------



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

https://reviews.llvm.org/D141338



More information about the cfe-commits mailing list