[PATCH] D70122: [cmake] Disable GCC 9's -Winit-list-lifetime warning

Aaron Ballman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 10:14:51 PST 2019


aaron.ballman added a comment.

Would it make sense to instead disable the warning more locally to ArrayRef's problematic constructor, rather than disabling it for the entire project? I can imagine the diagnostics on ArrayRef not being useful for us, but that doesn't mean we want to lose those diagnostics for all the other cases where we may not want to make the same tradeoff.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70122





More information about the llvm-commits mailing list