[PATCH] D125814: Improve the strict prototype diagnostic behavior

James Y Knight via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 25 11:04:45 PDT 2022


jyknight accepted this revision.
jyknight added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Sema/SemaDecl.cpp:3959
+          // it's a user-visible declaration. There is one exception to this:
+          // when the new declaration is one without a prototype, the old
+          // declaration with a prototype is not the cause of the issue, and
----------------
"when the new declaration is a definition without a prototype" perhaps?


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

https://reviews.llvm.org/D125814



More information about the cfe-commits mailing list