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

2018-01-29 Thread Jon Roelofs via cfe-commits
r323664 On Mon, Jan 15, 2018 at 8:35 AM, Jonathan Roelofs wrote: > LGTM. Would you like me to commit it for you? > > > Jon > > > On 1/14/18 3:50 AM, Paul Fertser wrote: > >> clang's -x option doesn't accept c-cpp-output as a language (even though >> 463eb6ab was merged, the driver still doesn't

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

2018-01-15 Thread Jonathan Roelofs via cfe-commits
LGTM. Would you like me to commit it for you? Jon On 1/14/18 3:50 AM, Paul Fertser wrote: 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. F

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

2018-01-14 Thread Paul Fertser via cfe-commits
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. --- tools/scan-build/libexec/ccc-analyzer