From 95ab3391525058956e409754b36fd04f2b9c5bb8 Mon Sep 17 00:00:00 2001 From: Yaron Keren Date: Fri, 6 Jan 2017 11:15:57 +0000 Subject: [PATCH] Constify UsingPackDecl::getInstantiatedFromUsingDecl(), NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291230 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/DeclCXX.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.40.0