[PATCH] D125814: Improve the strict prototype diagnostic behavior

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 05:36:16 PDT 2022


aaron.ballman marked an inline comment as done.
aaron.ballman added inline comments.


================
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
----------------
jyknight wrote:
> "when the new declaration is a definition without a prototype" perhaps?
Done!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125814



More information about the cfe-commits mailing list