Constify UsingPackDecl::getInstantiatedFromUsingDecl(), NFC.

llvm-svn: 291230
This commit is contained in:
Yaron Keren 2017-01-06 11:15:57 +00:00
parent d8333372bc
commit 01dd2f7b44
1 changed files with 1 additions and 1 deletions

View File

@ -3181,7 +3181,7 @@ public:
/// Get the using declaration from which this was instantiated. This will /// Get the using declaration from which this was instantiated. This will
/// always be an UnresolvedUsingValueDecl or an UnresolvedUsingTypenameDecl /// always be an UnresolvedUsingValueDecl or an UnresolvedUsingTypenameDecl
/// that is a pack expansion. /// 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 /// Get the set of using declarations that this pack expanded into. Note that
/// some of these may still be unresolved. /// some of these may still be unresolved.