HomePhabricator

[CMake] Don't use CLANG_DEFAULT_* values

Authored by phosek on Jul 13 2018, 12:16 PM.

Description

[CMake] Don't use CLANG_DEFAULT_* values

These are not necessarily correct, just because Clang is configured
to use libc++ or compiler-rt as defaults doesn't mean that the host
compiler uses these as defaults as well. A more correct solution
would be to test the host compiler to check what the default actually
is as attempted in D46857.

Part of PR-38025.

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

llvm-svn: 337033

Details

Committed
phosekJul 13 2018, 12:16 PM
Differential Revision
D49272: [CMake] Don't use CLANG_DEFAULT_* values
Parents
rG291e6c5db610: Add includes for CompletionRequest to every file that uses it
Branches
Unknown
Tags
Unknown