commit | 6035dc6838e8b0d1d75c927db6f6ae2cccd435d2 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Wed Oct 02 19:31:30 2019 +0000 |
committer | Louis Dionne <ldionne@apple.com> | Wed Oct 02 19:31:30 2019 +0000 |
tree | b3a5f3c329adea7d926b3c97dcaea2c7e25c85f9 | |
parent | 632d80c6f25f20d1c904b08301f415c31fa429a1 [diff] |
[libc++] Use a function to set warning flags per target This is part of a larger shift to move to per-target settings and eradicate global variables from the CMake build. I'm starting small with warnings only because those are easy to transition over and I want to see how it pans out, but we can handle all flags like exceptions and RTTI in the future. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@373511 91177308-0d34-0410-b5e6-96231b3b80d8