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 | 35b02bc7abac9a3eef623730bb9f91270541a065 (patch) | |
tree | 11b5500567ec7f77bca43dc663c57011fdcd3649 /llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp | |
parent | 366363dac18e471a5cc4590a95a1a125bc209b60 (diff) | |
download | llvm-35b02bc7abac9a3eef623730bb9f91270541a065.zip llvm-35b02bc7abac9a3eef623730bb9f91270541a065.tar.gz llvm-35b02bc7abac9a3eef623730bb9f91270541a065.tar.bz2 |
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.
llvm-svn: 207498
Diffstat (limited to 'llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions