[cfe-commits] r92531 - in /cfe/trunk: lib/Sema/SemaDecl.cpp test/Sema/ms-fuzzy-asm.c

Chris Lattner clattner at apple.com
Mon Jan 4 17:19:45 PST 2010


On Jan 4, 2010, at 3:01 PM, Mike Stump wrote:

> Author: mrs
> Date: Mon Jan  4 17:01:10 2010
> New Revision: 92531
>
> URL: http://llvm.org/viewvc/llvm-project?rev=92531&view=rev
> Log:
> Avoid warnings for functions that return a value using MS-style inline
> assembly code.  This avoids changing the bahvior when normal asm("")
> statements are used.
>
> The type of code affected would be:
>
>  void* t4(void) { __asm mov eax, fs:[0x10] }
>
> I hope people like this version, if not, let me know.

Looks good to me, thanks Mike!

-Chris



More information about the cfe-commits mailing list