]> granicus.if.org Git - clang/commit
[ms-inline asm] Add support for detecting simple ms-style inline asm. Simple
authorChad Rosier <mcrosier@apple.com>
Wed, 8 Aug 2012 18:22:06 +0000 (18:22 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 8 Aug 2012 18:22:06 +0000 (18:22 +0000)
commite696b6924d14b0e0590b5d923ca1646e6f67ac40
treee383b738378b0557f73580418c7e3e102264c488
parent3a32c9c565f970fd319b97a6056a4725cfa4f0f5
[ms-inline asm] Add support for detecting simple ms-style inline asm.  Simple
asm statements are those that don't reference variable names, function names,
and labels.

Add logic to generate a patched AsmString that will eventually be consumed by
the AsmParser.  No functional change at this point, so unfortunately no test
case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161508 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp