summaryrefslogtreecommitdiff
path: root/test/Parser/ms-inline-asm.c
Commit message (Collapse)AuthorAge
* Re-enable ms inline asm parser test.Alp Toker2013-12-08
| | | | | | LLVM r196044 should make it pass. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196734 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily disabling ms-asm testRenato Golin2013-01-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173510 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a triple, per Ben's suggestion.Chad Rosier2013-01-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173198 91177308-0d34-0410-b5e6-96231b3b80d8
* Second attempt to fix ppc bots.Chad Rosier2013-01-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173193 91177308-0d34-0410-b5e6-96231b3b80d8
* Add x86 requirement to hopefully fix ppc bots.Chad Rosier2013-01-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173190 91177308-0d34-0410-b5e6-96231b3b80d8
* [ms-inline asm] Remove a warning about ms-style inline assembly not beingChad Rosier2013-01-22
| | | | | | supported. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173177 91177308-0d34-0410-b5e6-96231b3b80d8
* [driver, ms-inline asm] MS-Style inline assembly is controlled by theChad Rosier2012-12-05
| | | | | | | -fasm-blocks flag, not the -fms-extensions flag. rdar://12808010 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169422 91177308-0d34-0410-b5e6-96231b3b80d8
* [ms-inline asm] Change the -fenable-experimental-ms-inline-asm option from a Chad Rosier2012-08-24
| | | | | | | | | | CodeGen option to a LangOpt option. In turn, hoist the guard into the parser so that we avoid the new (and fairly unstable) Sema/AST/CodeGen logic. This should restore the behavior of clang to that prior to r158325. <rdar://problem/12163681> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162602 91177308-0d34-0410-b5e6-96231b3b80d8
* [ms-inline asm] MSVC parses multiple __asm statements on a single line as oneChad Rosier2012-08-15
| | | | | | | | | | | | | 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
* [ms-inline asm] Add a helpful assert.Chad Rosier2012-08-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161890 91177308-0d34-0410-b5e6-96231b3b80d8
* [ms-style asm] Change the fatal error to an extension warning. Apparently, thisChad Rosier2012-06-20
| | | | | | | | error was asserting on anything that included Windows.h. MS-style inline asm is still dropped, but at least now we're not completely silent about it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158833 91177308-0d34-0410-b5e6-96231b3b80d8
* [ms-inline-asm] The __asm keyword is a statement separator, so multiple asmChad Rosier2012-06-12
| | | | | | statements are allowed on the same line. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158372 91177308-0d34-0410-b5e6-96231b3b80d8
* [ms-inline-asm] Cleanup MS style inline assembly parsing.Chad Rosier2012-06-12
| | | | | | | | | | | Specifically, improve the handling of whitespace, stop saving tokens that are in comments and fix the case where we have a comment followed by a closing brace on the next line. Unfortunately, there's no easy way of testing this code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158367 91177308-0d34-0410-b5e6-96231b3b80d8
* Some fixes for MS-style asm parsing: specifically, add some error checking, ↵Eli Friedman2011-09-30
and handle asm comments using semicolons correctly. (The comments are actually surprisingly tricky.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140837 91177308-0d34-0410-b5e6-96231b3b80d8