diff options
author | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-15 07:44:25 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@FreeBSD.org> | 2009-10-15 07:44:25 +0000 |
commit | 98781354c33bdc945ab6ea8c410d36c664ce1f5e (patch) | |
tree | badd8f913c2a7db8d5fbe7d83c862e35e403fd41 /include/clang/AST/ASTContext.h | |
parent | 4c8b24812ddcd1dedaca343a6d4e76f91f398981 (diff) | |
download | src-98781354c33bdc945ab6ea8c410d36c664ce1f5e.tar.gz src-98781354c33bdc945ab6ea8c410d36c664ce1f5e.zip |
Update clang to 84175.vendor/clang/clang-r84175
Notes
Notes:
svn path=/vendor/clang/dist/; revision=198112
svn path=/vendor/clang/clang-84175/; revision=198129; tag=vendor/clang/clang-r84175
Diffstat (limited to 'include/clang/AST/ASTContext.h')
-rw-r--r-- | include/clang/AST/ASTContext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index 63f909146e92..106d568c9b24 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -174,7 +174,7 @@ class ASTContext { /// This mapping will contain an entry that maps from the VarDecl for /// X<int>::value to the corresponding VarDecl for X<T>::value (within the /// class template X) and will be marked TSK_ImplicitInstantiation. - llvm::DenseMap<VarDecl *, MemberSpecializationInfo *> + llvm::DenseMap<const VarDecl *, MemberSpecializationInfo *> InstantiatedFromStaticDataMember; /// \brief Keeps track of the UnresolvedUsingDecls from which UsingDecls @@ -267,7 +267,8 @@ public: /// \brief If this variable is an instantiated static data member of a /// class template specialization, returns the templated static data member /// from which it was instantiated. - MemberSpecializationInfo *getInstantiatedFromStaticDataMember(VarDecl *Var); + MemberSpecializationInfo *getInstantiatedFromStaticDataMember( + const VarDecl *Var); /// \brief Note that the static data member \p Inst is an instantiation of /// the static data member template \p Tmpl of a class template. |