]> granicus.if.org Git - clang/commit
Modules: Adopt template parameters for variable templates to set their decl context...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 19 Apr 2019 23:04:05 +0000 (23:04 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 19 Apr 2019 23:04:05 +0000 (23:04 +0000)
commitea610150278dfee115dd86b3aafe24c5ce9c2042
tree2f4f14a4c2007897b3aa7ea1788cc04818beb0fb
parent10463c3a8bc8aea47f6524622dc85acb73a7d0bc
Modules: Adopt template parameters for variable templates to set their decl context correctly

Exposed by a related bug about visibility of default arguments of nested
templates - without the correct decl context, default template
parameters of variable templates nested in classes would have incorrect
visibility computed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358796 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclTemplate.cpp
test/Modules/nested-template-default-arg-redecl.cpp