diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-04-29 07:32:26 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-04-29 07:32:26 +0000 |
| commit | 4f5189a08b004b38aeffa485fc7217d8929e9ab3 (patch) | |
| tree | 4046088fe7d75ff560f9696059563655c26ad9f9 /lib/Serialization/ModuleManager.cpp | |
| parent | 69c9612d1ae89052fc8e379aeb060c102d842181 (diff) | |
| download | clang-4f5189a08b004b38aeffa485fc7217d8929e9ab3.tar.gz clang-4f5189a08b004b38aeffa485fc7217d8929e9ab3.tar.bz2 clang-4f5189a08b004b38aeffa485fc7217d8929e9ab3.tar.xz | |
AST: Fix visibility calculation for VarTemplateSpecializationDecl
It is possible that a variable template specialization might not have a
VisibilityAttr attached to it while the template that it specializes
does, in fact, have one.
We should consider the template in such cases.
This fixes PR19597.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
