Skip to content

Commit

Permalink
Visual Studio supports C11 _Alignof
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Kroening committed Jun 12, 2018
1 parent 5b8897e commit 19cfa50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ansi-c/scanner.l
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,8 @@ __decltype { if(PARSER.cpp98 &&
"_Alignof" { if(!PARSER.cpp98 &&
(PARSER.mode==configt::ansi_ct::flavourt::GCC ||
PARSER.mode==configt::ansi_ct::flavourt::APPLE ||
PARSER.mode==configt::ansi_ct::flavourt::ARM))
PARSER.mode==configt::ansi_ct::flavourt::ARM ||
PARSER.mode==configt::ansi_ct::flavourt::VISUAL_STUDIO))
{ loc(); return TOK_ALIGNOF; }
else
return make_identifier();
Expand Down

0 comments on commit 19cfa50

Please sign in to comment.