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 | 43e75176eccfa0432a52a96f57eb462c6d35e1df (patch) | |
tree | 7e9ad5e59c56a97dc2ff4ec7b815cd7f57fd5c33 /clang/lib/Sema/SemaTemplate.cpp | |
parent | 119b0c7185e12a183d9ad4610d602fa95a98f10d (diff) | |
download | bcm5719-llvm-43e75176eccfa0432a52a96f57eb462c6d35e1df.tar.gz bcm5719-llvm-43e75176eccfa0432a52a96f57eb462c6d35e1df.zip |
Parse extern templates, pass that information all the way to Sema,
then drop it on the floor.
llvm-svn: 80989
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
-rw-r--r-- | clang/lib/Sema/SemaTemplate.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaTemplate.cpp b/clang/lib/Sema/SemaTemplate.cpp index 8eaa9fb3975..76b6d7ecaa9 100644 --- a/clang/lib/Sema/SemaTemplate.cpp +++ b/clang/lib/Sema/SemaTemplate.cpp @@ -2849,8 +2849,11 @@ Sema::ActOnStartOfFunctionTemplateDef(Scope *FnBodyScope, } // Explicit instantiation of a class template specialization +// FIXME: Implement extern template semantics Sema::DeclResult -Sema::ActOnExplicitInstantiation(Scope *S, SourceLocation TemplateLoc, +Sema::ActOnExplicitInstantiation(Scope *S, + SourceLocation ExternLoc, + SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, const CXXScopeSpec &SS, @@ -3034,8 +3037,11 @@ Sema::ActOnExplicitInstantiation(Scope *S, SourceLocation TemplateLoc, } // Explicit instantiation of a member class of a class template. +// FIXME: Implement extern template semantics. Sema::DeclResult -Sema::ActOnExplicitInstantiation(Scope *S, SourceLocation TemplateLoc, +Sema::ActOnExplicitInstantiation(Scope *S, + SourceLocation ExternLoc, + SourceLocation TemplateLoc, unsigned TagSpec, SourceLocation KWLoc, const CXXScopeSpec &SS, |