HomePhabricator

[analyzer] Fix -x language argument for C preprocessed sources

Description

[analyzer] Fix -x language argument for C preprocessed sources

clang's -x option doesn't accept c-cpp-output as a language (even though
463eb6ab was merged, the driver still doesn't handle that).

This bug prevents testing C language projects when ccache is used.

Fixes #25851.

Investigation and patch by Dave Rigby.

Details

Committed
jroelofsJan 29 2018, 8:37 AM
Parents
rL323663: Add test case for truncated and promotion to test. NFC
Branches
Unknown
Tags
Unknown