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 d82f554 commit d5183fbCopy full SHA for d5183fb
src/cpp/parse.cpp
@@ -4398,6 +4398,16 @@ bool Parser::rClassSpec(typet &spec)
4398
{
4399
if(!optAlignas(spec))
4400
return false;
4401
+
4402
+ if(lex.LookAhead(0)==TOK_GCC_ATTRIBUTE)
4403
+ {
4404
+ cpp_tokent tk;
4405
+ lex.get_token(tk);
4406
4407
+ if(!rAttribute(spec))
4408
+ return false;
4409
+ }
4410
4411
irept name;
4412
4413
if(!rName(name))
0 commit comments