Skip to content

Commit b25fd90

Browse files
committed
[AST] Propagate 'AllowSerialized' param in findRequirementDeclWithDocComment
1 parent 71e2812 commit b25fd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/DocComment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ const ValueDecl *findRequirementDeclWithDocComment(const ValueDecl *VD,
440440
std::queue<const ValueDecl *> requirements;
441441
while (true) {
442442
for (auto *req : VD->getSatisfiedProtocolRequirements()) {
443-
if (!req->getRawComment().isEmpty())
443+
if (!req->getRawComment(AllowSerialized).isEmpty())
444444
return req;
445445
else
446446
requirements.push(req);

0 commit comments

Comments
 (0)