[PATCH] D125272: [clang] Add -fcheck-new support

Nathan Sidwell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 10 06:51:06 PDT 2022


urnathan added inline comments.


================
Comment at: clang/lib/Sema/SemaDecl.cpp:15440
+  //
+  // However, -fcheck-new violates this possible assumption, so don't add
+  // NonNull when that is enabled.
----------------
'invalidates' or 'negates' are better words here.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125272



More information about the cfe-commits mailing list