[clang] Respect the [[clang::unsafe_buffer_usage]] attribute for constructors (PR #91777)

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue May 14 15:25:14 PDT 2024


================
@@ -1315,9 +1374,9 @@ class DerefSimplePtrArithFixableGadget : public FixableGadget {
 
   virtual std::optional<FixItList>
   getFixits(const FixitStrategy &s) const final;
-
-  // TODO remove this method from FixableGadget interface
----------------
haoNoQ wrote:

Still relevant tbh.

https://github.com/llvm/llvm-project/pull/91777


More information about the cfe-commits mailing list