diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-10-14 20:14:33 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-10-14 20:14:33 +0000 |
commit | 663b5a0be7261c29bc4c526a71cffcfa02d4153e (patch) | |
tree | 06582f834e2df99344af84881c6e6703502d84e2 /lib/AST/Decl.cpp | |
parent | 54150d9b1d308334d40864c8d8d8d6d1a9da363e (diff) |
Testing and some minor fixes for explicit template instantiation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index 429729ea3b..a908299bfe 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -380,7 +380,7 @@ VarDecl *VarDecl::getInstantiatedFromStaticDataMember() { return 0; } -TemplateSpecializationKind VarDecl::getTemplateSpecializationKind() { +TemplateSpecializationKind VarDecl::getTemplateSpecializationKind() const { if (MemberSpecializationInfo *MSI = getASTContext().getInstantiatedFromStaticDataMember(this)) return MSI->getTemplateSpecializationKind(); |