Files
swift-mirror/test/Interop/Cxx/reference/Inputs/module.modulemap
Gabor Horvath 00fa738209 [cxx-interop] Fix calling convention for rvalue reference params
In C++, we always expected to invoke the dtor for moved-from objects.
This is not the case for swift. Fortunately, @inCxx calling convention
is already expressing that the caller supposed to destroy the object.
This fixes the missing dtor calls when calling C++ functions taking
rvalue references. Fixes #77894.

rdar://140786022
2025-03-03 11:47:12 +00:00

27 lines
444 B
Plaintext

module Reference {
header "reference.h"
requires cplusplus
}
module SpecialMembers {
header "print-special-members.h"
requires cplusplus
}
module Closures {
header "closures.h"
requires cplusplus
}
module ConstRefParameter {
header "const-ref-parameter.h"
requires objc
requires cplusplus
}
module ConstRefCxxObjCCtorInitParameter {
header "reference-silgen-cxx-objc-ctors+init.h"
requires objc
requires cplusplus
}