diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-09-11 21:19:12 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-09-11 21:19:12 +0000 |
| commit | 4aa04b155a3212c9599814d9d8d1468f9fb6cae9 (patch) | |
| tree | 23e2f4cea904a819471da8a5692ad4f57e59099c /clang/lib/Sema/SemaExpr.cpp | |
| parent | a6bce00934046d2a3688e476ce8510a292a8728b (diff) | |
| download | bcm5719-llvm-4aa04b155a3212c9599814d9d8d1468f9fb6cae9.tar.gz bcm5719-llvm-4aa04b155a3212c9599814d9d8d1468f9fb6cae9.zip | |
Slight improvement for extern templates, so that an explicit
instantiation definition can follow an explicit instantiation
declaration. This is as far as I want to go with extern templates now,
but they will still need quite a bit more work to get all of the C++0x
semantics right.
llvm-svn: 81573
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 4df55e6762b..509f45c7833 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -6123,6 +6123,7 @@ void Sema::MarkDeclarationReferenced(SourceLocation Loc, Decl *D) { // Implicit instantiation of static data members of class templates. // FIXME: distinguish between implicit instantiations (which we need to // actually instantiate) and explicit specializations. + // FIXME: extern templates if (Var->isStaticDataMember() && Var->getInstantiatedFromStaticDataMember()) PendingImplicitInstantiations.push_back(std::make_pair(Var, Loc)); |

