[cfe-commits] r169445 - in /cfe/trunk: lib/Frontend/CompilerInvocation.cpp test/Parser/MicrosoftExtensions.c
Richard Smith
richard at metafoo.co.uk
Wed Dec 5 15:20:06 PST 2012
On Wed, Dec 5, 2012 at 3:08 PM, Chad Rosier <mcrosier at apple.com> wrote:
> Author: mcrosier
> Date: Wed Dec 5 17:08:09 2012
> New Revision: 169445
>
> URL: http://llvm.org/viewvc/llvm-project?rev=169445&view=rev
> Log:
> [driver, ms-inline asm] Have -fms-extensions enable the AsmBlocks language
> option. MS-style inline asm can now be enabled by either -fasm-blocks or
> -fms-extensions.
> rdar://12808010
>
> Modified:
> cfe/trunk/lib/Frontend/CompilerInvocation.cpp
> cfe/trunk/test/Parser/MicrosoftExtensions.c
>
> Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=169445&r1=169444&r2=169445&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
> +++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Wed Dec 5 17:08:09 2012
> @@ -1172,7 +1172,7 @@
> Opts.MicrosoftExt
> = Args.hasArg(OPT_fms_extensions) ||
> Args.hasArg(OPT_fms_compatibility);
> Opts.MicrosoftMode = Args.hasArg(OPT_fms_compatibility);
> - Opts.AsmBlocks = Args.hasArg(OPT_fasm_blocks);
> + Opts.AsmBlocks = Args.hasArg(OPT_fasm_blocks) ||
> Args.hasArg(OPT_fms_extensions);
>
Presumably this should be || Opts.MicrosoftExt? -fms-compatibility should
enable this feature too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121205/d41d56ef/attachment.html>
More information about the cfe-commits
mailing list