We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae98146 commit 82ad822Copy full SHA for 82ad822
src/cpp/parse.cpp
@@ -4399,6 +4399,16 @@ bool Parser::rClassSpec(typet &spec)
4399
{
4400
if(!optAlignas(spec))
4401
return false;
4402
+
4403
+ if(lex.LookAhead(0)==TOK_GCC_ATTRIBUTE)
4404
+ {
4405
+ cpp_tokent tk;
4406
+ lex.get_token(tk);
4407
4408
+ if(!rAttribute(spec))
4409
+ return false;
4410
+ }
4411
4412
irept name;
4413
4414
if(!rName(name))
0 commit comments