[PATCH] D141310: [clang] add -Wcompare-function-pointers

Adrian Dole via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 18 09:56:25 PST 2023


adriandole added a comment.

@dblaikie, we would use this warning in Chrome OS. We use `icf=all` and have encountered bugs caused by function pointer comparisons.

It's not that noisy compiling clang (eight hits). Working on testing it for Chrome OS.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141310



More information about the cfe-commits mailing list