Skip to content

Commit 6ca5714

Browse files
authored
Merge pull request swiftlang#75332 from hborla/6.0-missing-return
[6.0][Attr] Add a missing return statement at the end of `allowSymbolLinkageMarkers`
2 parents f418159 + 0b1b6af commit 6ca5714

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Sema/TypeCheckAttr.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2335,6 +2335,8 @@ static bool allowSymbolLinkageMarkers(ASTContext &ctx, Decl *D) {
23352335
macroDecl->getName().getBaseIdentifier()
23362336
.str().equals("_DebugDescriptionProperty"))
23372337
return true;
2338+
2339+
return false;
23382340
}
23392341

23402342
void AttributeChecker::visitUsedAttr(UsedAttr *attr) {

0 commit comments

Comments
 (0)