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

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 09:40:30 PST 2019


xbolva00 added a comment.

I had wanted to suggest pragmas too but then I realized what basically rnk says:

> I also suspect that the warning may affect the call site of the ArrayRef constructor, in which case the pragmas won't be localized, they will be everywhere.

So *probably* there is no “pragma” solution here..


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