aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-10-10 21:59:56 +0000
committerReid Kleckner <rnk@google.com>2018-10-10 21:59:56 +0000
commita52d151f9dde72afa948742843827ebc7e097460 (patch)
treed645aa576e8528b16134c72a3b671fe3afeb0d79 /clang/lib/Frontend/CompilerInvocation.cpp
parentb5421c498d279fdfb5e6a079e7fd05a5fd6cbd7b (diff)
downloadllvm-a52d151f9dde72afa948742843827ebc7e097460.zip
llvm-a52d151f9dde72afa948742843827ebc7e097460.tar.gz
llvm-a52d151f9dde72afa948742843827ebc7e097460.tar.bz2
[AST] Use -fvisibility value when ignoring -fv-i-h* inline static locals
Summary: In r340386 we added code to give static locals in inline functions default visibility. Instead, we should use the "default" visibility passed on the command line, which could be hidden or protected, as GCC does. Some code bases use both -fvisibility=hidden and -fvisibility-inlines-hidden to hide inline functions of classes that are explicitly marked with default visibility. Fixes PR39236 Reviewers: hans, thakis Subscribers: eraman, llvm-commits Differential Revision: https://reviews.llvm.org/D53052 llvm-svn: 344190
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions