
ObjCContainerDecl.getMethod returns a nullptr by default when the container is a hidden prototype. Callsites where the method is being looked up on the redeclaration's own container should skip this check since they (rightly) expect a valid method to be found. Resolves rdar://69444243 Reviewed By: akyrtzi Differential Revision: https://reviews.llvm.org/D89024
31 lines
534 B
Plaintext
31 lines
534 B
Plaintext
// See vfsoverlay.yaml
|
|
module ModuleNeedsVFS {
|
|
header "ModuleNeedsVFS.h"
|
|
export *
|
|
}
|
|
framework module * { }
|
|
|
|
module ModuleUndef { header "module-undef.h" }
|
|
|
|
module PreambleWithImplicitImport {
|
|
module A {
|
|
header "preamble-with-implicit-import-A.h"
|
|
}
|
|
module B {
|
|
header "preamble-with-implicit-import-B.h"
|
|
export *
|
|
}
|
|
module C {
|
|
header "preamble-with-implicit-import-C.h"
|
|
export *
|
|
}
|
|
}
|
|
|
|
module hidden_redecls {
|
|
header "hidden-redecls.h"
|
|
|
|
explicit module sub {
|
|
header "hidden-redecls-sub.h"
|
|
}
|
|
}
|