]> granicus.if.org Git - clang/commit
Simplify the handling of non-dependent friend class template
authorDouglas Gregor <dgregor@apple.com>
Sat, 26 Sep 2009 20:57:03 +0000 (20:57 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 26 Sep 2009 20:57:03 +0000 (20:57 +0000)
commitfc9cd61f2372cd8f43f0d92be14fa75778de6be6
tree0206fae25b7862555981ad63fbb2d03fdfd11602
parente7c8cb6b2728aa98258288d221b09bc66cc05543
Simplify the handling of non-dependent friend class template
specializations such as:

  friend class std::vector<int>;

by using the same code path as explicit specializations, customized to
reference an existing ClassTemplateSpecializationDecl (or build a new
"undeclared" one).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82875 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDeclCXX.cpp
lib/Sema/SemaTemplate.cpp
test/SemaTemplate/friend.cpp