[PATCH] D134831: [Clang][Sema] Add -Wcast-function-type-strict

Sami Tolvanen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 29 15:29:28 PDT 2022


samitolvanen updated this revision to Diff 464067.
samitolvanen marked 8 inline comments as done.
samitolvanen added a comment.

Moved `CastFunctionTypeStrict` to a subgroup of `CastFunctionType`, addressed other feedback, and updated tests.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134831

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/SemaCast.cpp
  clang/test/Sema/warn-cast-function-type-strict.c
  clang/test/Sema/warn-cast-function-type.c
  clang/test/SemaCXX/warn-cast-function-type-strict.cpp
  clang/test/SemaCXX/warn-cast-function-type.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134831.464067.patch
Type: text/x-patch
Size: 13697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220929/848385b6/attachment.bin>


More information about the cfe-commits mailing list