mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Move a few methods from VarDecl down to ParamDecl
This commit is contained in:
@@ -1373,7 +1373,7 @@ void LoadableStorageAllocation::insertIndirectReturnArgs() {
|
||||
|
||||
auto &ctx = pass.F->getModule().getASTContext();
|
||||
auto var = new (ctx) ParamDecl(
|
||||
VarDecl::Specifier::InOut, SourceLoc(), SourceLoc(),
|
||||
ParamDecl::Specifier::InOut, SourceLoc(), SourceLoc(),
|
||||
ctx.getIdentifier("$return_value"), SourceLoc(),
|
||||
ctx.getIdentifier("$return_value"),
|
||||
pass.F->getDeclContext());
|
||||
|
||||
Reference in New Issue
Block a user