From 01dd2f7b44d208ef52e829c2121a5378b5df620a 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. llvm-svn: 291230 --- clang/include/clang/AST/DeclCXX.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/include/clang/AST/DeclCXX.h b/clang/include/clang/AST/DeclCXX.h index 06ecd3c37342..0ca08db16299 100644 --- a/clang/include/clang/AST/DeclCXX.h +++ b/clang/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.