]> granicus.if.org Git - llvm/commit
[AIX] For XL, pick GCC-compatible std & default warning options
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Thu, 15 Aug 2019 22:23:53 +0000 (22:23 +0000)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Thu, 15 Aug 2019 22:23:53 +0000 (22:23 +0000)
commita796afd0986f687e78e7c74923de816c8a14919e
treebb476518fe4256084b6986bd5d854a476ba09086
parentafeb7897d509307e495bbfdee6df7bf024a56256
[AIX] For XL, pick GCC-compatible std & default warning options

Summary:
LLVM now requires C++14. For IBM XL compilers with C++14 support, this
can be done with the GCC-style options. The relevant block in the CMake
file is split up into smaller parts as part of this patch to allow the
common cases to be shared.

Reviewers: jfb, jasonliu, daltenty, xingxue

Reviewed By: jfb, xingxue

Subscribers: mstorsjo, mgorny, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66256

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369058 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake