[cxx-interop] Lazily import members of Clang namespaces and records via requests.

Also adds a ClangImporter request zone and move some requests into it.
This commit is contained in:
zoecarver
2021-07-25 15:26:54 -07:00
parent 0ca8dd364f
commit b8e52a7ad2
24 changed files with 394 additions and 439 deletions

View File

@@ -1,6 +1,6 @@
// RUN: %target-swift-ide-test -print-module -module-to-print=FreeFunctionsSecondHeader -I %S/Inputs -source-filename=x -enable-cxx-interop | %FileCheck %s
// TODO: This file doesn't really test anything because functions need not be defined.
// CHECK: extension FunctionsNS1 {
// CHECK: static func definedInDefs() -> UnsafePointer<CChar>!
// CHECK: enum FunctionsNS1 {
// cHECK: static func definedInDefs() -> UnsafePointer<CChar>!
// CHECK: }