mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Lazy loading checked if the ClangDecl was hidden, but loading all members did not. Let's make loadAllMembers() behave like the lazy path, and fix some of the mock SDKs in the test suite.
67 lines
885 B
Plaintext
67 lines
885 B
Plaintext
module OmitNeedlessWords {
|
|
export *
|
|
header "OmitNeedlessWords.h"
|
|
}
|
|
|
|
module ImportedProtocols {
|
|
export *
|
|
module SubModule {
|
|
requires objc
|
|
header "ImportedProtocols.h"
|
|
}
|
|
}
|
|
|
|
module Newtype {
|
|
export *
|
|
header "Newtype.h"
|
|
}
|
|
|
|
module NewtypeObjC {
|
|
header "NewtypeObjC.h"
|
|
export *
|
|
}
|
|
|
|
module ImportAsMember {
|
|
export *
|
|
|
|
module A {
|
|
header "ImportAsMember.h"
|
|
}
|
|
|
|
module B {
|
|
header "ImportAsMemberB.h"
|
|
}
|
|
|
|
module C {
|
|
requires objc
|
|
header "ImportAsMemberC.h"
|
|
export *
|
|
}
|
|
|
|
module APINotes {
|
|
header "ImportAsMemberAPINotes.h"
|
|
}
|
|
|
|
module Class {
|
|
requires objc
|
|
header "ImportAsMemberClass.h"
|
|
}
|
|
}
|
|
|
|
module IAMError {
|
|
export *
|
|
requires objc
|
|
header "ImportAsMemberError.h"
|
|
}
|
|
|
|
module InferImportAsMember {
|
|
export *
|
|
header "InferImportAsMember.h"
|
|
}
|
|
|
|
module CompatibilityAlias {
|
|
header "CompatibilityAlias.h"
|
|
export *
|
|
}
|
|
|