[PATCH] D88833: [clang-tidy] Do not warn on pointer decays in system macros

Carlos Galvez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 6 12:39:31 PST 2022


carlosgalvezp added a comment.

My patch <https://reviews.llvm.org/D116378> has now been merged, hope it helps a bit! Reading through the comments I'm not sure it will be enough though. In the cases you mention we've typically wrapped the third-party function into a helper function that adds a NOLINT suppression/cast there, to avoid littering the code at the call site. Would that help? I guess it will still be a pain if you have many different such functions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88833



More information about the cfe-commits mailing list