diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-04 06:33:52 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-04 06:33:52 +0000 |
commit | 45f965581935791a018df829a14dff53c1dd8f47 (patch) | |
tree | 49fb91aadae8ae184b90210edd16e929da76990b /lib/Parse/ParseDeclCXX.cpp | |
parent | b117a60f7684261ddc8c8f14e8ef8a827e6af814 (diff) |
Parse extern templates, pass that information all the way to Sema,
then drop it on the floor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDeclCXX.cpp')
-rw-r--r-- | lib/Parse/ParseDeclCXX.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Parse/ParseDeclCXX.cpp b/lib/Parse/ParseDeclCXX.cpp index 385b805113..c82f6a4114 100644 --- a/lib/Parse/ParseDeclCXX.cpp +++ b/lib/Parse/ParseDeclCXX.cpp @@ -638,6 +638,7 @@ void Parser::ParseClassSpecifier(tok::TokenKind TagTokKind, // This is an explicit instantiation of a class template. TagOrTempResult = Actions.ActOnExplicitInstantiation(CurScope, + TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, TagType, StartLoc, @@ -734,6 +735,7 @@ void Parser::ParseClassSpecifier(tok::TokenKind TagTokKind, // TagOrTempResult = Actions.ActOnExplicitInstantiation(CurScope, + TemplateInfo.ExternLoc, TemplateInfo.TemplateLoc, TagType, StartLoc, SS, Name, NameLoc, Attr); |