From: Yaron Keren Date: Fri, 6 Jan 2017 11:15:57 +0000 (+0000) Subject: Constify UsingPackDecl::getInstantiatedFromUsingDecl(), NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95ab3391525058956e409754b36fd04f2b9c5bb8;p=clang Constify UsingPackDecl::getInstantiatedFromUsingDecl(), NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291230 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/DeclCXX.h b/include/clang/AST/DeclCXX.h index 06ecd3c373..0ca08db162 100644 --- a/include/clang/AST/DeclCXX.h +++ b/include/clang/AST/DeclCXX.h @@ -3181,7 +3181,7 @@ public: /// Get the using declaration from which this was instantiated. This will /// always be an UnresolvedUsingValueDecl or an UnresolvedUsingTypenameDecl /// that is a pack expansion. - NamedDecl *getInstantiatedFromUsingDecl() { return InstantiatedFrom; } + NamedDecl *getInstantiatedFromUsingDecl() const { return InstantiatedFrom; } /// Get the set of using declarations that this pack expanded into. Note that /// some of these may still be unresolved.