mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
f8c6174578
Suppress Swift warnings (unresolvable_clang_decl) when generating precompiled modules for system frameworks. rdar://170174282
305 lines
4.7 KiB
Plaintext
305 lines
4.7 KiB
Plaintext
module script {
|
|
header "script.h"
|
|
}
|
|
|
|
module AndroidVersioning {
|
|
header "AndroidVersioning.h"
|
|
export *
|
|
}
|
|
|
|
module AvailabilityExtras {
|
|
header "AvailabilityExtras.h"
|
|
export *
|
|
}
|
|
|
|
module CFAndObjC {
|
|
header "CFAndObjC.h"
|
|
export *
|
|
}
|
|
|
|
module CInsideObjC {
|
|
header "CInsideObjC.h"
|
|
export *
|
|
}
|
|
|
|
module ClangModuleUser {
|
|
header "ClangModuleUser.h"
|
|
export *
|
|
}
|
|
|
|
module ClangModuleWithOverlay {
|
|
link "UnderlyingClangLibrary"
|
|
}
|
|
|
|
module ConflictingNames {
|
|
header "ConflictingNames.h"
|
|
export *
|
|
}
|
|
|
|
module CoreData {
|
|
header "NSManagedObject.h"
|
|
export *
|
|
}
|
|
|
|
module CoreCooling {
|
|
header "CoreCooling.h"
|
|
export *
|
|
}
|
|
|
|
module CXXInterop {
|
|
header "cxx_interop.h"
|
|
}
|
|
|
|
module ctypes_bits_exported {
|
|
header "ctypes_bits_exported.h"
|
|
export *
|
|
}
|
|
|
|
module EnumExhaustivity {
|
|
header "EnumExhaustivity.h"
|
|
export *
|
|
}
|
|
|
|
module ExternIntX { header "x.h" }
|
|
|
|
module HasSubmodule {
|
|
link framework "HasSubmodule"
|
|
module Submodule {
|
|
header "Submodule.h"
|
|
}
|
|
}
|
|
|
|
module ImageInitializers {
|
|
header "ImageInitializers.h"
|
|
export *
|
|
}
|
|
|
|
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 SimpleSwiftNewtypes {
|
|
header "SimpleSwiftNewtypes.h"
|
|
}
|
|
|
|
module MoreSwiftNewtypes {
|
|
header "MoreSwiftNewtypes.h"
|
|
}
|
|
|
|
module Newtype {
|
|
header "Newtype.h"
|
|
}
|
|
|
|
module NewtypeSystem [system] {
|
|
header "NewtypeSystem.h"
|
|
}
|
|
|
|
module ImportAsMember {
|
|
export *
|
|
|
|
module A {
|
|
header "ImportAsMember.h"
|
|
}
|
|
}
|
|
|
|
// FIXME: This probably ought to be in a module.private.modulemap, but that
|
|
// causes hundreds of clang warnings.
|
|
module ImportAsMember_Private {
|
|
export *
|
|
|
|
module A {
|
|
header "ImportAsMember_Private.h"
|
|
}
|
|
}
|
|
|
|
module ObjCIRExtras {
|
|
header "ObjCIRExtras.h"
|
|
export *
|
|
}
|
|
|
|
module ObjCParseExtras {
|
|
header "ObjCParseExtras.h"
|
|
export *
|
|
}
|
|
|
|
module ObjCParseExtrasInitHelper {
|
|
header "ObjCParseExtrasInitHelper.h"
|
|
export *
|
|
}
|
|
|
|
module ObjCParseExtrasToo {
|
|
header "ObjCParseExtrasToo.h"
|
|
export *
|
|
}
|
|
|
|
module ObjCParseExtrasTooHelper {
|
|
header "ObjCParseExtrasTooHelper.h"
|
|
export *
|
|
}
|
|
|
|
module ObjCParseExtrasSystem [system] {
|
|
header "ObjCParseExtrasSystem.h"
|
|
export *
|
|
}
|
|
|
|
module ObjCSubscripts {
|
|
header "ObjCSubscripts.h"
|
|
export *
|
|
}
|
|
|
|
module PredefinedMacros {
|
|
header "PredefinedMacros.h"
|
|
export *
|
|
}
|
|
|
|
module ProtoRenaming {
|
|
header "ProtoRenaming.h"
|
|
export *
|
|
}
|
|
|
|
module ProtoWithInitializer {
|
|
header "ProtoWithInitializer.h"
|
|
export *
|
|
}
|
|
|
|
module Redeclaration {
|
|
header "Redeclaration.h"
|
|
export *
|
|
}
|
|
|
|
module SubclassExistentialsExtra {
|
|
header "SubclassExistentialsExtra.h"
|
|
export *
|
|
}
|
|
|
|
module SwiftPrivateAttr {
|
|
header "SwiftPrivateAttr.h"
|
|
export *
|
|
}
|
|
|
|
module TestProtocols { header "Protocols.h" }
|
|
|
|
module TypeAndValue {
|
|
header "TypeAndValue.h"
|
|
export *
|
|
}
|
|
|
|
module UnimportableMembers {
|
|
header "UnimportableMembers.h"
|
|
}
|
|
module UnimportableMembersUser {
|
|
header "UnimportableMembersUser.h"
|
|
}
|
|
|
|
module UsesSubmodule {
|
|
header "UsesSubmodule.h"
|
|
export *
|
|
}
|
|
|
|
module Requires {
|
|
module Swift { requires swift }
|
|
module NotSwift { requires !swift }
|
|
}
|
|
|
|
module SwiftName {
|
|
header "SwiftName.h"
|
|
}
|
|
|
|
module MacrosRedefA {
|
|
header "MacrosRedefA.h"
|
|
}
|
|
|
|
module MacrosRedefB {
|
|
header "MacrosRedefB.h"
|
|
}
|
|
|
|
module IndirectFields {
|
|
header "IndirectFields.h"
|
|
}
|
|
|
|
module ObjCBridgeNonconforming {
|
|
header "ObjCBridgeNonconforming.h"
|
|
}
|
|
|
|
module BlocksReturningBool {
|
|
header "BlocksReturningBool.h"
|
|
}
|
|
|
|
module MacOSVersionCanonicalization {
|
|
header "MacOSVersionCanonicalization.h"
|
|
}
|
|
|
|
module Warnings1 { header "Warnings1.h" }
|
|
module Warnings2 { header "Warnings2.h" }
|
|
module Warnings3 { header "Warnings3.h" }
|
|
module Warnings4 { header "Warnings4.h" }
|
|
module Warnings5 { header "Warnings5.h" }
|
|
module Warnings6 { header "Warnings6.h" }
|
|
module Warnings7 { header "Warnings7.h" }
|
|
module Warnings8 { header "Warnings8.h" }
|
|
module Warnings9 { header "Warnings9.h" }
|
|
|
|
module ConditionallyFoo {
|
|
header "ConditionallyFoo.h"
|
|
config_macros [exhaustive] WANT_FOO
|
|
}
|
|
|
|
module ForwardDeclarationsHelper {
|
|
header "ForwardDeclarationsHelper.h"
|
|
}
|
|
|
|
module LocalVsFileScopeBase {
|
|
header "LocalVsFileScopeBase.h"
|
|
}
|
|
module LocalVsFileScope {
|
|
header "LocalVsFileScope.h"
|
|
export *
|
|
}
|
|
|
|
module CommonName {
|
|
header "CommonName.h"
|
|
export *
|
|
}
|
|
|
|
module "Weird C Module" {
|
|
header "WeirdCModule.h"
|
|
}
|
|
|
|
module Aliases {
|
|
header "Aliases.h"
|
|
}
|
|
|
|
module RetroactiveVersioning {
|
|
header "versioning.h"
|
|
}
|
|
|
|
module CVarArgs {
|
|
header "CVarArgs.h"
|
|
export *
|
|
}
|
|
|
|
module SystemModuleWithWarnings {
|
|
header "SystemModuleWithWarnings.h"
|
|
export *
|
|
}
|