]> granicus.if.org Git - clang/commit
[ms-inline asm] MSVC parses multiple __asm statements on a single line as one
authorChad Rosier <mcrosier@apple.com>
Wed, 15 Aug 2012 21:03:27 +0000 (21:03 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 15 Aug 2012 21:03:27 +0000 (21:03 +0000)
commitf37e4218bb40ed956f0ef1d2e5eee2b2c3aa20d2
tree0cf93be1024300abf7efccf459d39b2503070eb2
parent4e79fdfe22db1c982e8fdf8397fee426a8c57821
[ms-inline asm] MSVC parses multiple __asm statements on a single line as one
statement.  For example,

  if (x)
    __asm out dx, ax  __asm out dx, ax

results in a single inline asm statement (i.e., both "out dx, ax" statements are
predicated on if(x)).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161986 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseStmt.cpp
lib/Sema/SemaStmt.cpp
test/CodeGen/ms-inline-asm.c
test/Parser/ms-inline-asm.c