mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge branch 'main' into manually-merge-main
This commit is contained in:
@@ -326,10 +326,6 @@ namespace swift {
|
||||
/// in calls to generic functions.
|
||||
bool EnableOpenedExistentialTypes = false;
|
||||
|
||||
/// Enable support for parameterized protocol types in existential
|
||||
/// position.
|
||||
bool EnableParameterizedExistentialTypes = false;
|
||||
|
||||
/// Enable experimental flow-sensitive concurrent captures.
|
||||
bool EnableExperimentalFlowSensitiveConcurrentCaptures = false;
|
||||
|
||||
|
||||
@@ -129,7 +129,12 @@ public:
|
||||
/// Return this Version struct as the appropriate version string for APINotes.
|
||||
std::string asAPINotesVersionString() const;
|
||||
|
||||
/// Parse a version in the form used by the _compiler_version \#if condition.
|
||||
/// Parse a version in the form used by the _compiler_version(string-literal)
|
||||
/// \#if condition.
|
||||
///
|
||||
/// \note This is \em only used for the string literal version, so it includes
|
||||
/// backwards-compatibility logic to convert it to something that can be
|
||||
/// compared with a modern SWIFT_COMPILER_VERSION.
|
||||
static Optional<Version> parseCompilerVersionString(StringRef VersionString,
|
||||
SourceLoc Loc,
|
||||
DiagnosticEngine *Diags);
|
||||
|
||||
Reference in New Issue
Block a user