File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ enum class BridgedArgumentConvention {
147
147
};
148
148
149
149
#ifdef USED_IN_CPP_SOURCE
150
- static swift::ParameterConvention getParameterConvention (BridgedArgumentConvention convention) {
150
+ inline swift::ParameterConvention getParameterConvention (BridgedArgumentConvention convention) {
151
151
switch (convention) {
152
152
case BridgedArgumentConvention::Indirect_In: return swift::ParameterConvention::Indirect_In;
153
153
case BridgedArgumentConvention::Indirect_In_Guaranteed: return swift::ParameterConvention::Indirect_In_Guaranteed;
@@ -165,7 +165,7 @@ static swift::ParameterConvention getParameterConvention(BridgedArgumentConventi
165
165
llvm_unreachable (" invalid parameter convention" );
166
166
}
167
167
168
- static BridgedArgumentConvention getArgumentConvention (swift::ParameterConvention convention) {
168
+ inline BridgedArgumentConvention getArgumentConvention (swift::ParameterConvention convention) {
169
169
switch (convention) {
170
170
case swift::ParameterConvention::Indirect_In: return BridgedArgumentConvention::Indirect_In;
171
171
case swift::ParameterConvention::Indirect_In_Guaranteed: return BridgedArgumentConvention::Indirect_In_Guaranteed;
You can’t perform that action at this time.
0 commit comments