[PATCH] D36735: Clang changes related to D35621
Andrew V. Tischenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 15 06:28:41 PDT 2017
avt77 created this revision.
Herald added a subscriber: eraman.
As result of https://reviews.llvm.org/D35621 one test in Clang was changed. This patch shows the change.
https://reviews.llvm.org/D36735
Files:
test/Sema/ms-inline-asm.c
Index: test/Sema/ms-inline-asm.c
===================================================================
--- test/Sema/ms-inline-asm.c
+++ test/Sema/ms-inline-asm.c
@@ -80,12 +80,12 @@
} A;
void t3() {
- __asm { mov eax, [eax] UndeclaredId } // expected-error {{unknown token in expression}} expected-error {{use of undeclared label 'UndeclaredId'}}
+ __asm { mov eax, [eax] UndeclaredId } // expected-error {{invalid address operation}} expected-error {{use of undeclared label 'UndeclaredId'}}
// FIXME: Only emit one diagnostic here.
// expected-error at +3 {{use of undeclared label 'A'}}
// expected-error at +2 {{unexpected type name 'A': expected expression}}
- // expected-error at +1 {{unknown token in expression}}
+ // expected-error at +1 {{invalid address operation}}
__asm { mov eax, [eax] A }
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36735.111155.patch
Type: text/x-patch
Size: 819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170815/d6727a64/attachment.bin>
More information about the llvm-commits
mailing list