Skip to content

Commit f688294

Browse files
committed
Serialization: Adjust call to clang::AttributeCommonInfo ctor
See llvm/llvm-project#141305.
1 parent 18b30f3 commit f688294

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Serialization/Deserialization.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8468,7 +8468,8 @@ class SwiftToClangBasicReader :
84688468
bool isRegularKeywordAttribute = readBool();
84698469

84708470
clang::AttributeCommonInfo info(
8471-
name, scopeName, {rangeStart, rangeEnd}, scopeLoc, parsedKind,
8471+
name, clang::AttributeScopeInfo(scopeName, scopeLoc),
8472+
{rangeStart, rangeEnd}, parsedKind,
84728473
{syntax, spellingListIndex, /*IsAlignas=*/false,
84738474
isRegularKeywordAttribute});
84748475

0 commit comments

Comments
 (0)