Factor the option and checking of compiler version better. Put the
authorChandler Carruth <chandlerc@gmail.com>
Mon, 13 Jan 2014 22:21:34 +0000 (22:21 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 13 Jan 2014 22:21:34 +0000 (22:21 +0000)
commit55e6c6184ae5c018fa8fc79a9b844557fa2a0787
tree313d6a312182b357294cb4316c02be88b18d9d1b
parentd00ec5ef7bbb323c2a98a2a5028be2ccd093d24e
Factor the option and checking of compiler version better. Put the
option with the others in the top level CMakeLists, and put the check in
HandleLLVMOptions. This will also let it be used from the standalone
Clang builds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199149 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/config-ix.cmake
cmake/modules/HandleLLVMOptions.cmake