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 {
147147};
148148
149149#ifdef USED_IN_CPP_SOURCE
150- static swift::ParameterConvention getParameterConvention (BridgedArgumentConvention convention) {
150+ inline swift::ParameterConvention getParameterConvention (BridgedArgumentConvention convention) {
151151 switch (convention) {
152152 case BridgedArgumentConvention::Indirect_In: return swift::ParameterConvention::Indirect_In;
153153 case BridgedArgumentConvention::Indirect_In_Guaranteed: return swift::ParameterConvention::Indirect_In_Guaranteed;
@@ -165,7 +165,7 @@ static swift::ParameterConvention getParameterConvention(BridgedArgumentConventi
165165 llvm_unreachable (" invalid parameter convention" );
166166}
167167
168- static BridgedArgumentConvention getArgumentConvention (swift::ParameterConvention convention) {
168+ inline BridgedArgumentConvention getArgumentConvention (swift::ParameterConvention convention) {
169169 switch (convention) {
170170 case swift::ParameterConvention::Indirect_In: return BridgedArgumentConvention::Indirect_In;
171171 case swift::ParameterConvention::Indirect_In_Guaranteed: return BridgedArgumentConvention::Indirect_In_Guaranteed;
You can’t perform that action at this time.
0 commit comments