[PATCH] D73319: Add extension 'gnu_asm_goto_with_outputs'
Bill Wendling via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 27 13:11:31 PST 2020
void updated this revision to Diff 240663.
void marked 2 inline comments as done.
void added a comment.
Move extension test to exsiting test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73319/new/
https://reviews.llvm.org/D73319
Files:
clang/include/clang/Basic/Features.def
clang/test/Parser/asm-goto.c
Index: clang/test/Parser/asm-goto.c
===================================================================
--- clang/test/Parser/asm-goto.c
+++ clang/test/Parser/asm-goto.c
@@ -4,6 +4,9 @@
#if !__has_extension(gnu_asm)
#error Extension 'gnu_asm' should be available by default
#endif
+#if !__has_extension(gnu_asm_goto_with_outputs)
+#error Extension 'gnu_asm_goto_with_outputs' should be available by default
+#endif
int a, b, c, d, e, f, g, h, i, j, k, l;
Index: clang/include/clang/Basic/Features.def
===================================================================
--- clang/include/clang/Basic/Features.def
+++ clang/include/clang/Basic/Features.def
@@ -252,6 +252,7 @@
EXTENSION(pragma_clang_attribute_namespaces, true)
EXTENSION(pragma_clang_attribute_external_declaration, true)
EXTENSION(gnu_asm, LangOpts.GNUAsm)
+EXTENSION(gnu_asm_goto_with_outputs, LangOpts.GNUAsm)
#undef EXTENSION
#undef FEATURE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73319.240663.patch
Type: text/x-patch
Size: 925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200127/a20c184c/attachment-0001.bin>
More information about the cfe-commits
mailing list