aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WindowsResource.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-09-05 10:17:19 -0700
committerFangrui Song <i@maskray.me>2022-09-05 10:17:19 -0700
commit91d8324366f405e871aa8174ab61fc66912964dd (patch)
treec636e769a48115b80264c509475741d1b66848cc /llvm/lib/Object/WindowsResource.cpp
parent05737fa209ba97b330739af3b00834c21b0547b7 (diff)
downloadllvm-91d8324366f405e871aa8174ab61fc66912964dd.zip
llvm-91d8324366f405e871aa8174ab61fc66912964dd.tar.gz
llvm-91d8324366f405e871aa8174ab61fc66912964dd.tar.bz2
[MinGW] Reject explicit non-default visibility applied to dllexport/dllimport declaration
dllimport/dllexport is incompatible with protected/hidden visibilities. (Arguably dllexport semantics is compatible with protected but let's reject the combo for simplicity.) When an explicit visibility attribute applies on a dllexport/dllimport declaration, report a Frontend error (Sema does not compute visibility). Reviewed By: mstorsjo Differential Revision: https://reviews.llvm.org/D133266
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions