aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-09-02 09:59:16 -0700
committerFangrui Song <i@maskray.me>2022-09-02 09:59:16 -0700
commit1a4d851d272d141fb39ff9a0b2572dfa4411c5c5 (patch)
treee2381561883740c293e9441359ae5228a68ae4ab /clang/lib/Frontend/CompilerInvocation.cpp
parentb512b1c809843d4b65b20dc356ab06b50602580b (diff)
downloadllvm-1a4d851d272d141fb39ff9a0b2572dfa4411c5c5.zip
llvm-1a4d851d272d141fb39ff9a0b2572dfa4411c5c5.tar.gz
llvm-1a4d851d272d141fb39ff9a0b2572dfa4411c5c5.tar.bz2
[MinGW] Ignore -fvisibility/-fvisibility-inlines-hidden for dllexport
Similar to 123ce97fac78bc4519afd5d2aba17c59c5717aad for dllimport: dllexport expresses a non-hidden visibility intention. We can consider it explicit and therefore it should override the global visibility setting (see AST/Decl.cpp "NamedDecl Implementation"). Adding the special case to CodeGenModule::setGlobalVisibility is somewhat weird, but allows we to add the code in one place instead of many in AST/Decl.cpp. Differential Revision: https://reviews.llvm.org/D133180
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions