Revert D133266 "[MinGW] Reject explicit non-default visibility applied to dllexport...
authorFangrui Song <i@maskray.me>
Wed, 7 Sep 2022 23:06:19 +0000 (16:06 -0700)
committerFangrui Song <i@maskray.me>
Wed, 7 Sep 2022 23:06:19 +0000 (16:06 -0700)
commitbc502d9c24f8fce3b90e3fe8a8a9ca18894e68cb
treeee806f7f9f1329403ff4d96323498a57e181d181
parenteaf0986b1846441054f8b1725903a128a25c1c43
Revert D133266 "[MinGW] Reject explicit non-default visibility applied to dllexport/dllimport declaration"

This reverts commit 91d8324366f405e871aa8174ab61fc66912964dd.

The combo dllexport protected makes sense and is used by PlayStation.
Will change the patch to allow dllexport protected.
clang/include/clang/Basic/DiagnosticFrontendKinds.td
clang/lib/CodeGen/CodeGenModule.cpp
clang/test/CodeGenCXX/dllstorage-visibility.cpp