commit | 88b7094185b9d4fe9820c731b6936d8d37f6143e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Feb 25 22:02:03 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Feb 25 22:02:03 2009 +0000 |
tree | fcfbe4371945a1bf02a768521c3a30b73a5b5d2e | |
parent | d76c6a38b8080b3255c37f787bcaf4a4724f330c [diff] |
Perform additional semantic checking of class template specializations. In particular: - Make sure class template specializations have a "template<>" header, and complain if they don't. - Make sure class template specializations are declared/defined within a valid context. (e.g., you can't declare a specialization std::vector<MyType> in the global namespace). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65476 91177308-0d34-0410-b5e6-96231b3b80d8