mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This mode is supposed to get all its configuration information from the switftinterface being read in, but that means that the ASTContext and ClangImporter that get created by default may not be a sensible configuration (for example, a mismatched target and SDK, which Clang emits a warning about). Avoid this by just not creating the ASTContext if it's already been determined that the frontend is building a module from a parseable interface.
56 KiB
56 KiB