File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -2464,13 +2464,9 @@ void Parser::ParseOptionalCXX11VirtSpecifierSeq(VirtSpecifiers &VS,
2464
2464
Diag (Tok.getLocation (), diag::err_override_control_interface)
2465
2465
<< VirtSpecifiers::getSpecifierName (Specifier);
2466
2466
} else if (Specifier == VirtSpecifiers::VS_Sealed) {
2467
- #ifndef _WIN32
2468
2467
Diag (Tok.getLocation (), diag::ext_ms_sealed_keyword);
2469
- #endif
2470
2468
} else if (Specifier == VirtSpecifiers::VS_Abstract) {
2471
- #ifndef _WIN32
2472
2469
Diag (Tok.getLocation (), diag::ext_ms_abstract_keyword);
2473
- #endif
2474
2470
} else if (Specifier == VirtSpecifiers::VS_GNU_Final) {
2475
2471
Diag (Tok.getLocation (), diag::ext_warn_gnu_final);
2476
2472
} else {
@@ -3548,12 +3544,10 @@ void Parser::ParseCXXMemberSpecification(SourceLocation RecordLoc,
3548
3544
? diag::warn_cxx98_compat_override_control_keyword
3549
3545
: diag::ext_override_control_keyword)
3550
3546
<< VirtSpecifiers::getSpecifierName (Specifier);
3551
- #ifndef _WIN32
3552
3547
else if (Specifier == VirtSpecifiers::VS_Sealed)
3553
3548
Diag (FinalLoc, diag::ext_ms_sealed_keyword);
3554
3549
else if (Specifier == VirtSpecifiers::VS_Abstract)
3555
3550
Diag (AbstractLoc, diag::ext_ms_abstract_keyword);
3556
- #endif
3557
3551
else if (Specifier == VirtSpecifiers::VS_GNU_Final)
3558
3552
Diag (FinalLoc, diag::ext_warn_gnu_final);
3559
3553
}
You can’t perform that action at this time.
0 commit comments