Skip to content

Commit 37bca4d

Browse files
authored
Merge pull request swiftlang#75331 from hborla/missing-return
[Attr] Add a missing return statement at the end of `allowSymbolLinkageMarkers`
2 parents 7d6391f + ed1b11d commit 37bca4d

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
@@ -2402,6 +2402,8 @@ static bool allowSymbolLinkageMarkers(ASTContext &ctx, Decl *D) {
24022402
macroDecl->getName().getBaseIdentifier()
24032403
.str().equals("_DebugDescriptionProperty"))
24042404
return true;
2405+
2406+
return false;
24052407
}
24062408

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

0 commit comments

Comments
 (0)