Files
swift-mirror/test/Interop/Cxx/namespace/Inputs/module.modulemap
Gábor Horváth 2327cec99f [6.2][cxx-interop] Fix crash in ASTMangler triggered by UsingShadowDecls
Explanation: We did not handle this declaration kind. This PR makes sure we
mangle it the same way we do for the target declaration.
Issue: rdar://152841420
Risk: Low, the fix is small, localized, and straightforward.
Testing: Regression test added.
Original PR: #82144
Reviewer: @egorzhdan @hnrklssn @j-hui
2025-06-11 11:37:27 +01:00

77 lines
1.4 KiB
Plaintext

module Classes {
header "classes.h"
requires cplusplus
}
module ClassesSecondHeader {
// TODO: we shouldn't have to include both of these, and the decls defined in
// these headers should be added to the correct module
// (https://github.com/apple/swift/issues/56592).
header "classes.h"
header "classes-second-header.h"
requires cplusplus
}
module FreeFunctions {
header "free-functions.h"
requires cplusplus
}
module FreeFunctionsSecondHeader {
header "free-functions.h"
header "free-functions-second-header.h"
requires cplusplus
}
module Submodules {
module SubmoduleA {
header "submodule-a.h"
requires cplusplus
}
module SubmoduleB {
header "submodule-b.h"
requires cplusplus
}
}
module Templates {
header "templates.h"
requires cplusplus
}
module TemplatesSecondHeader {
header "templates.h"
header "templates-second-header.h"
requires cplusplus
}
module TemplatesWithForwardDecl {
header "templates-with-forward-decl.h"
requires cplusplus
}
module Extensions {
header "extensions.h"
requires cplusplus
}
module Enums {
header "enums.h"
requires cplusplus
}
module MembersDirect {
header "members-direct.h"
requires cplusplus
}
module MembersTransitive {
header "members-transitive.h"
requires cplusplus
}
module UsingFromNamespace {
header "using-from-namespace.h"
requires cplusplus
}