This change factors out compiler checking / warning, and documents LLVM_FORCE_USE_OLD_TOOLCHAIN. It doesn't introduce any functional changes nor policy changes, these will come late.
Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 26934 Build 26933: arc lint + arc unit
Event Timeline
I think this is a good start. That said, this is also a bug-fix (not exactly NFC), since it adds the Clang check to AppleClang.
cmake/modules/CheckCompilerVersion.cmake | ||
---|---|---|
11–12 | According to this: https://gist.github.com/yamaya/2924292 those are the same versions. AppleClang 3.1 IS Clang 3.1. |
llvm/trunk/cmake/modules/CheckCompilerVersion.cmake | ||
---|---|---|
44 ↗ | (On Diff #182151) | I think that this should report *SIMULATE* VERSION rather than *COMPILER* version. i.e. |
Did you really mean these to be the same as CLANG_MIN and CLANG_WARN?