mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #81912 from artemcm/FixImplicitBuildCXXInteropCycle_62
[6.2 🍒][C++Interop] Do not query C++ Standard Library Swift overlays when building Swift modules which were built without C++ interop
This commit is contained in:
@@ -45,6 +45,7 @@ namespace swift {
|
||||
|
||||
struct DiagnosticBehavior;
|
||||
class DiagnosticEngine;
|
||||
class FrontendOptions;
|
||||
|
||||
/// Kind of implicit platform conditions.
|
||||
enum class PlatformConditionKind {
|
||||
@@ -339,7 +340,8 @@ namespace swift {
|
||||
std::optional<version::Version> FormalCxxInteropMode;
|
||||
|
||||
void setCxxInteropFromArgs(llvm::opt::ArgList &Args,
|
||||
swift::DiagnosticEngine &Diags);
|
||||
swift::DiagnosticEngine &Diags,
|
||||
const FrontendOptions &FrontendOpts);
|
||||
|
||||
/// The C++ standard library used for the current build. This can differ
|
||||
/// from the default C++ stdlib on a particular platform when `-Xcc
|
||||
|
||||
Reference in New Issue
Block a user