HomePhabricator

[libc++] Avoid passing -xc++ in Lit feature detection

Authored by ldionne on Jun 5 2020, 10:39 AM.

Description

[libc++] Avoid passing -xc++ in Lit feature detection

Otherwise, if %{flags} contain other files like static libraries, those
files are treated as C++ source files instead of object files, and the
compiler gets all confused.

Details

Committed
ldionneJun 5 2020, 10:41 AM
Parents
rGe73bb45c2b7b: [ARM] VQMOVN demand bits analysis
Branches
Unknown
Tags
Unknown