[PATCH] D58896: Suppress -Wchar-subscripts if the index is a literal char

Stephan Bergmann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 7 08:00:23 PST 2019


sberg added a comment.

But how about literals like `'\x80'` where the promoted value depends on whether plain `char` is signed or unsigned?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D58896





More information about the cfe-commits mailing list