[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 10:42:10 PDT 2021


aaron.ballman added a comment.

In D103885#2805758 <https://reviews.llvm.org/D103885#2805758>, @ychen wrote:

> We could use a table to avoid the warning and speed the build a little bit. https://reviews.llvm.org/D98110

That's an interesting approach, thank you for sharing it! I wonder how use of a table impacts performance given that the table is on the stack and there can be a lot of options (a bit less worried for things like OpenMP kinds or overloadable operators as those as much smaller)?


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