mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] Explicitly track things marked __owned.
This commit is contained in:
@@ -353,6 +353,7 @@ public:
|
||||
auto parameterFlags = ParameterTypeFlags()
|
||||
.withInOut(flags.isInOut())
|
||||
.withShared(flags.isShared())
|
||||
.withOwned(flags.isOwned())
|
||||
.withVariadic(flags.isVariadic());
|
||||
|
||||
funcParams.push_back(AnyFunctionType::Param(type, label, parameterFlags));
|
||||
|
||||
Reference in New Issue
Block a user