{"push_id":3165543361,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"e2e4a2f49fa200f42a380979c29a04a87605b688","before":"12391ef6d41a0afb89a515d47c360578f651f5e3","commits":[{"sha":"e2e4a2f49fa200f42a380979c29a04a87605b688","author":{"name":"Reid Kleckner","email":"ab3c2931970baa67c6d76cdeb719744d873e09ef@google.com"},"message":"[clang-cl] Treat inputs as C++ with /E, like MSVC\n\nmidl invokes the compiler on .idl files with /E. Before this change, we\nwould treat unrecognized inputs as object files. Now we pre-process to\nstdout as expected. I checked that MSVC defines __cplusplus when invoked\nthis way, so treating the input as C++ seems like the right thing to do.\n\nAfter this change, I was able to run midl like this with clang-cl:\n$ midl -cpp_cmd clang-cl.exe foo.idl\n\nThings worked for the example IDL file in the Microsoft documentation,\nbut beyond that, I don't know if this will work well.\n\nFixes PR40140\n\ngit-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350072 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-mirror/clang/commits/e2e4a2f49fa200f42a380979c29a04a87605b688"}]}
{"actor":{"display_login":"dtzWill"}}