[PATCH] D136790: [Clang][Sema] Add -Wincompatible-function-pointer-types-strict

Sami Tolvanen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 14:13:23 PDT 2022


samitolvanen added reviewers: aaron.ballman, nickdesaulniers, pcc, joaomoreira, kees, nathanchance.
samitolvanen added a comment.

Similarly to D134831 <https://reviews.llvm.org/D134831>, `-Wincompatible-function-pointer-types` also seems to miss int <-> enum mismatches in function pointer assignments, for example. Does this look like a reasonable approach or is there a better way to implement something like this?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136790



More information about the cfe-commits mailing list