Modules: Fix implicit output file for .cppm to .pcm instead of stdout
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 14 Jun 2018 23:09:06 +0000 (23:09 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 14 Jun 2018 23:09:06 +0000 (23:09 +0000)
commitbc023c968c7c085220f32445f1d8a08ad3b5290f
treeb200139bf6824878ad93646a2765b0c49c91650e
parent3f1ce093ea4dd86c50ececa1da85edb78b904e72
Modules: Fix implicit output file for .cppm to .pcm instead of stdout

This code was introduced back in r178148, a change to introduce
-module-file-info - which still exists & seems like it's still tested (&
this change didn't cause any of those tests to fail).

It doesn't look like this change was necessary there - since it's about
pcm output, whereas -module-file-info looks like it's for pcm /input/.
So I'm not really sure what the original motivation was.

I'm open to ideas though, if it turns out the original change was
necessary/useful.

llvm-svn: 334778
clang/lib/Driver/Driver.cpp
clang/test/Driver/clang-translation.cppm [new file with mode: 0644]