[PATCH] D23895: [ms] Add support for parsing uuid as a MS attribute
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 1 08:19:36 PDT 2016
rnk added inline comments.
================
Comment at: lib/Parse/ParseDeclCXX.cpp:3943
@@ +3942,3 @@
+ } else {
+ // something like uuid({000000A0-0000-0000-C000-000000000049}) -- no
+ // quotes in the parens. Just append the spelling of all tokens encountered
----------------
This isn't so bad. :) I was expecting you'd have to change the lexer.
================
Comment at: test/Parser/ms-square-bracket-attributes.mm:138
@@ +137,3 @@
+int message_send2() {
+ [uuid("a5a7bd07-3b14-49bc-9399-de066d4d72cd") retain];
+}
----------------
nice
https://reviews.llvm.org/D23895
More information about the cfe-commits
mailing list