[llvm-commits] [PATCH] Add support for MSVC style diagnostics in llvm tools

Erik Olofsson Erik.Olofsson at hansoft.se
Tue Mar 1 15:22:01 PST 2011


Adds support for MSVC style diagnostics to llvm tools by providing a cmake option LLVM_ENABLE_MSVC_STYLE_DIAGNOSTICS. This option is by default turned on when configuring for MSVC and off for all other compilers. I also needed to remove location matching from two tests for them to pass with MSVC style diagnostics.

This could later be turned into the default for a command line option choosing the diagnostics style in each tool.

Please review and commit if good.

Regards,
Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110302/3a5c1bb2/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: llvm-msvc-style-diagnostics.patch.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110302/3a5c1bb2/attachment.txt>


More information about the llvm-commits mailing list