mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Make getGroupDecl static
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user