[PATCH] D125814: Fix strict prototype diagnostic wording for definitions

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 18 04:33:43 PDT 2022


aaron.ballman updated this revision to Diff 430325.
aaron.ballman added a comment.

Went with a more simple implementation approach and the diagnostic results seem to be a mild improvement in terms of wording and behavior.


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

https://reviews.llvm.org/D125814

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaDecl.cpp
  clang/test/CodeGen/2009-06-01-addrofknr.c
  clang/test/Parser/declarators.c
  clang/test/Sema/arg-duplicate.c
  clang/test/Sema/knr-def-call.c
  clang/test/Sema/knr-variadic-def.c
  clang/test/Sema/warn-deprecated-non-prototype.c
  clang/test/Sema/warn-strict-prototypes.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125814.430325.patch
Type: text/x-patch
Size: 23425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220518/e68966be/attachment-0001.bin>


More information about the cfe-commits mailing list