Files
swift-mirror/test/ClangModules/Inputs/custom-modules/module.map
Doug Gregor fa3bb96f85 Clang importer: allow the swift_name attribute to map any name.
This is functional for arbitrary Objective-C properties and methods
(the subject of rdar://problem/22214302), as well as for changing the
argument labels of C functions. However, it does not work when the
name of a global is changed because name lookup initiated from
Swift goes through the Swift lookup table. Fixes
rdar://problem/22214302 but is only a step toward
rdar://problem/17184411.

Swift SVN r32670
2015-10-13 21:12:28 +00:00

136 lines
2.0 KiB
Plaintext

module script {
header "script.h"
}
module AvailabilityExtras {
header "AvailabilityExtras.h"
export *
}
module ClangModuleUser {
header "ClangModuleUser.h"
export *
}
module ClangModuleWithAdapter {
link "UnderlyingClangLibrary"
}
module CoreData {
header "NSManagedObject.h"
export *
}
module CoreCooling {
header "CoreCooling.h"
export *
}
module ctypes_bits_exported {
header "ctypes_bits_exported.h"
export *
}
module ExternIntX { header "x.h" }
module HasSubmodule {
link framework "HasSubmodule"
module Submodule {
header "Submodule.h"
}
}
module ImportsMissingHeader {
header "ImportsMissingHeader.h"
export *
}
module IndirectFramework {
link framework "Indirect"
}
module IndirectFrameworkImporter {
header "IndirectFrameworkImporter.h"
export IndirectFramework
}
module LinkMusket {
link "Lock"
link "Stock"
link framework "Barrel"
}
module MissingHeader {
header "this-header-does-not-exist.h"
}
module ObjCIRExtras {
header "ObjCIRExtras.h"
export *
}
module ObjCParseExtras {
header "ObjCParseExtras.h"
export *
}
module ObjCParseExtrasToo {
header "ObjCParseExtrasToo.h"
export *
}
module ObjCParseExtrasTooHelper {
header "ObjCParseExtrasTooHelper.h"
export *
}
module ObjCParseExtrasSystem [system] {
header "ObjCParseExtrasSystem.h"
export *
}
module ObjCImplicitProperties {
header "ObjCImplicitProperties.h"
export *
}
module ObjCSubscripts {
header "ObjCSubscripts.h"
export *
}
module ProtoWithInitializer {
header "ProtoWithInitializer.h"
export *
}
module Redeclaration {
header "Redeclaration.h"
export *
}
module SwiftPrivateAttr {
header "SwiftPrivateAttr.h"
}
module TestProtocols { header "Protocols.h" }
module TypeAndValue {
header "TypeAndValue.h"
export *
}
module UsesSubmodule {
header "UsesSubmodule.h"
export *
}
module Requires {
module Swift { requires swift }
module NotSwift { requires !swift }
}
module SwiftName {
header "SwiftName.h"
}