Make getGroupDecl static

This commit is contained in:
Ben Langmuir
2016-03-08 18:04:55 -08:00
parent bac7521af7
commit 92a91810e4

View File

@@ -1542,7 +1542,7 @@ Optional<CommentInfo> ModuleFile::getCommentForDecl(const Decl *D) const {
const static std::string Separator = "/";
const Decl* getGroupDecl(const Decl *D) {
static const Decl* getGroupDecl(const Decl *D) {
auto GroupD = D;
// Extensions always exist in the same group with the nominal.