[PATCH] D103885: [clang] Suppress warnings for tautological comparison in generated macro code

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 8 04:25:55 PDT 2021


aaron.ballman added a comment.

This sort of diagnostic suppression is not portable and will require checking for `#ifdef __clang__`. Personally, I'm not fond of this style of diagnostic suppression (non-portable and rather distracting due to verbosity), but I don't know that there's a better way to do the suppression in this case...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103885



More information about the cfe-commits mailing list