Skip to content

Commit b5507d2

Browse files
authored
Merge pull request #36690 from kavon/cpp-needs-arg-labels
[ClangImporter] fix argument ordering in call to `AccessorDecl::create`
2 parents 7d46760 + 5a29c05 commit b5507d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ImportDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ static FuncDecl *createFuncOrAccessor(ASTContext &ctx, SourceLoc funcLoc,
172172
accessorInfo->Kind, accessorInfo->Storage,
173173
/*StaticLoc*/ SourceLoc(),
174174
StaticSpellingKind::None,
175-
throws, /*ThrowsLoc=*/SourceLoc(),
176175
async, /*AsyncLoc=*/SourceLoc(),
176+
throws, /*ThrowsLoc=*/SourceLoc(),
177177
genericParams, bodyParams,
178178
resultTy, dc, clangNode);
179179
} else {

0 commit comments

Comments
 (0)