This is an archive of the discontinued LLVM Phabricator instance.

Restore GNU , ## __VA_ARGS__ behavior in MSVC mode
ClosedPublic

Authored by hvdijk on Jan 25 2021, 1:49 PM.

Details

Summary

As noted in D91913, MSVC implements the GNU behavior for , ## VA_ARGS as well. Do the same when -fms-compatibility is used.

Diff Detail

Event Timeline

hvdijk requested review of this revision.Jan 25 2021, 1:49 PM
hvdijk created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 25 2021, 1:49 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
hvdijk retitled this revision from Restore GNU , ## __VA_ARGS__ behavior in MSVC mode too to Restore GNU , ## __VA_ARGS__ behavior in MSVC mode.
dmajor added a subscriber: dmajor.Jan 25 2021, 1:55 PM
rsmith accepted this revision.Jan 25 2021, 2:04 PM
This revision is now accepted and ready to land.Jan 25 2021, 2:04 PM
This revision was automatically updated to reflect the committed changes.