Skip to content

Commit a340dca

Browse files
committed
[IDE] Add parameter label comment for HasLabel
1 parent 6d163a5 commit a340dca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Parse/ParseDecl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2910,7 +2910,7 @@ ParserStatus Parser::parseNewDeclAttribute(DeclAttributes &Attributes,
29102910
if (Tok.is(tok::code_complete)) {
29112911
if (CodeCompletionCallbacks) {
29122912
CodeCompletionCallbacks->completeDeclAttrParam(
2913-
ParameterizedDeclAttributeKind::AccessControl, 0, false);
2913+
ParameterizedDeclAttributeKind::AccessControl, 0, /*HasLabel=*/false);
29142914
consumeToken(tok::code_complete);
29152915
}
29162916
return makeParserSuccess();
@@ -3765,7 +3765,7 @@ ParserStatus Parser::parseNewDeclAttribute(DeclAttributes &Attributes,
37653765
*isUnsafe, [&] () {
37663766
if (CodeCompletionCallbacks) {
37673767
CodeCompletionCallbacks->completeDeclAttrParam(
3768-
ParameterizedDeclAttributeKind::Nonisolated, 0, false);
3768+
ParameterizedDeclAttributeKind::Nonisolated, 0, /*HasLabel=*/false);
37693769
consumeToken(tok::code_complete);
37703770
}
37713771
});

0 commit comments

Comments
 (0)