This is an archive of the discontinued LLVM Phabricator instance.

clang: Fix static_assert in a few contexts in microsoft mode
ClosedPublic

Authored by thakis on Jan 27 2021, 1:52 PM.

Details

Summary

Follow-up to D17444. Fixes PR48904. See bug for details.

Diff Detail

Event Timeline

thakis requested review of this revision.Jan 27 2021, 1:52 PM
thakis created this revision.
rsmith accepted this revision.Jan 27 2021, 2:29 PM
rsmith added a subscriber: rsmith.

Looks good, and I think we should also backport this to Clang 12.

clang/lib/Parse/ParseDecl.cpp
4234

Use isOneOf.

This revision is now accepted and ready to land.Jan 27 2021, 2:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2021, 3:15 PM