commit | 9eabebafc165a67812eacc184806e7bf34c5f0a5 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Thu Jul 29 16:11:51 2010 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Thu Jul 29 16:11:51 2010 +0000 |
tree | 34803307f79988a873012e4e0472112514097513 | |
parent | 8f70ddb5576f338d409caa1404cebd40d6a05951 [diff] |
Refactor redeclarable template declarations This patch refactors much of the common code in ClassTemplateDecl and FunctionTemplateDecl into a common base class RedeclarableTemplateDecl together with support functions in a template class RedeclarableTemplate. The patch also includes similar refactoring for these classes' PCH reader and writer implementations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109754 91177308-0d34-0410-b5e6-96231b3b80d8