]> granicus.if.org Git - clang/commit
Treat template parameters as part of the declaration-specifiers for the
authorJohn McCall <rjmccall@apple.com>
Fri, 16 Jul 2010 08:13:16 +0000 (08:13 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 16 Jul 2010 08:13:16 +0000 (08:13 +0000)
commitc9068d7dd94d439cec66c421115d15303e481025
tree8c9940175bcfc7c9ba1db3fbe19c759a3c4755e0
parent34fa29485d6e0b22f1f32852f34e483db0f90b0d
Treat template parameters as part of the declaration-specifiers for the
purpose of access control.  Fixes PR7644.

I can't actually find anything directly justifying this, but it seems obvious.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108521 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Parse/Parser.h
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParseTemplate.cpp
lib/Sema/SemaDecl.cpp
test/CXX/class.access/p6.cpp