[cfe-commits] r166737 - in /cfe/trunk: include/clang/Basic/DiagnosticGroups.td include/clang/Basic/DiagnosticSemaKinds.td include/clang/Basic/TargetInfo.h lib/Basic/Targets.cpp lib/Sema/SemaStmtAsm.cpp test/CodeGen/arm-asm-warn.c

Eric Christopher echristo at gmail.com
Thu Oct 25 16:58:12 PDT 2012


On Thu, Oct 25, 2012 at 4:28 PM, Bill Wendling <isanbard at gmail.com> wrote:
> Author: void
> Date: Thu Oct 25 18:28:48 2012
> New Revision: 166737
>
> URL: http://llvm.org/viewvc/llvm-project?rev=166737&view=rev
> Log:
> Recommit Eric's code to validate ASM string's constraints and modifiers.
>
> This code checks the ASM string to see if the output size is able to fit within
> the variable specified as the output. For instance, scalar-to-vector conversions
> may not really work. It's on by default, but can be turned off with a flag if
> you think you know what you're doing.
>
> This is placed under a flag ('-Wasm-operand-widths') and flag group ('-Wasm').
>

Well, obviously I like the code, but thanks for getting it out here
and cleaned up a touch!

-eric



More information about the cfe-commits mailing list