https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115428
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=44598, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=52105 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > The reason why has_pointer_operand_p is not warned about is because it is a > `static inline` function which GCC will never warn about. Looks like clang > only warns about them if they are in a main source. See PR 52105 for that. > > The reason why relation_to_code is not warned about is a similar reasons but > this time for `static const` variables. This one see PR 44598.