[PATCH] D13419: Fix several problems at the intersection of template instantiations and visibility

Keno Fischer via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 3 20:09:04 PDT 2015


loladiro created this revision.
loladiro added reviewers: aaron.ballman, rsmith, rnk.
loladiro added a subscriber: cfe-commits.
loladiro set the repository for this revision to rL LLVM.

When we were looking at a template instantiation, that itself was a template instantiation
(say a templated member of a templated class), we weren't looking back far enough along
the chain of instantiations to find a VisibilityAttr (which we don't copy when instantiating
templates). This patch attempts to address that as well as adding a few test cases for these
situations.

Repository:
  rL LLVM

http://reviews.llvm.org/D13419

Files:
  lib/AST/Decl.cpp
  lib/AST/DeclCXX.cpp
  test/CodeGenCXX/visibility.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13419.36455.patch
Type: text/x-patch
Size: 4867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151004/d0195636/attachment-0001.bin>


More information about the cfe-commits mailing list