Allow -MF to be used in combination with -E -M or -E -MM.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 26 Sep 2012 19:01:49 +0000 (19:01 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 26 Sep 2012 19:01:49 +0000 (19:01 +0000)
commit2715fce5244c2058aa02d45bda262904e7efa1ad
tree418c159d2baa3e203d515dbedea64a4002c0a912
parent9802f9fb2a64df1c27251a3284394c2748122128
Allow -MF to be used in combination with -E -M or -E -MM.

Fixes PR13851. Patch by Dimitry Andric!

llvm-svn: 164717
clang/lib/Driver/Tools.cpp
clang/test/Preprocessor/pr13851.c [new file with mode: 0644]