commit | 731ba1dedb0efa1f2ac553ce1a5f82beff264624 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Wed Aug 17 07:18:44 2016 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Wed Aug 17 07:18:44 2016 +0000 |
tree | caa5761f0b2c6b2f527e685ac975c1bbf4e2ba6c | |
parent | bba5e18e2ad9b799dfddca78524977ff8894ce48 [diff] |
Restrict the use of the C++17 attribute to C++17 (at least as best we can given the current __cplusplus definitions). Without this, Clang triggers TONS of warnings about using a C++17 extension. I tried using LLVM_EXTENSION to turn these off and it doesn't work. Suggestions on a better approach are welcome, but at least this makes the build usable for me again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278909 91177308-0d34-0410-b5e6-96231b3b80d8