[clang-tools-extra] [clang-tidy] Add check 'bugprone-cast-to-struct' (PR #153428)
Balázs Kéri via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 22 02:53:40 PDT 2025
balazske wrote:
I want to change the behavior of the ignore list to only match the type names "as written in the code" (without any resolution of `typedef`s). The `*` character will be necessary in the list, and it will be by default a whole-word regular expression (`^` and `$` are not needed). This can avoid unwanted ignore matches. (The other option is to match all intermediate typedef names in all combinations in a single "from" and "to" type pair, I don not like this.)
https://github.com/llvm/llvm-project/pull/153428
More information about the cfe-commits
mailing list