Skip to content

[5.5][CSSimplify] Allow overload choices with missing labels to be considered for diagnostics #37137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 93 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
3fd82a1
[5.5] Add support for release/5.5 branch in update-checkout script
shahmishal Apr 17, 2021
3b3f173
Merge pull request #36950 from apple/shahmishal/5.5-support-new-branch
shahmishal Apr 18, 2021
4dca0c6
[completion] Clarify and simplify not-recommended state
benlangmuir Apr 19, 2021
dbd2dd4
[completion] Make NotRecommendedReason an enum class
benlangmuir Apr 19, 2021
1a183e4
ClangImporter: add some error-recovery code path for TypeBase::wrapIn…
nkcsgexi Apr 19, 2021
7253dae
Merge pull request #36964 from benlangmuir/not-recommended-improvemen…
benlangmuir Apr 20, 2021
dbeb7ac
Don't propagate global actor to deinit
etcwilde Apr 20, 2021
1c68d06
Update actor isolation tests
etcwilde Apr 20, 2021
785288b
Merge pull request #36967 from nkcsgexi/72164992-5.5
nkcsgexi Apr 20, 2021
fbb8d1f
[Serialization] Add some checks for invalid types
bnbarham Apr 20, 2021
8d04e63
GSB: When rebuilding a signature, drop layout requirements implied by…
slavapestov Apr 19, 2021
47ca24d
Merge pull request #36977 from bnbarham/cherry-pick-75379780
bnbarham Apr 21, 2021
7707133
[TypeChecker] Fix assertion failure when using Self in extension that…
ahoppen Apr 8, 2021
56ad93a
[Concurrency] Store child record when async let child task spawned
ktoso Mar 30, 2021
6afa3bd
Merge pull request #36987 from ktoso/cherry-cleaner-abi-asynclet
swift-ci Apr 21, 2021
7f023ab
Revert "[Cherry-pick 5.5] [Concurrency] Store child record when async…
ktoso Apr 21, 2021
abbed68
[SILGen] Don't emit executor checks for @_unsafeMainActor closures.
DougGregor Apr 21, 2021
1bc1a10
[SILGen] Put actor data-race checking behind a flag.
DougGregor Apr 21, 2021
5b6f5d9
Merge pull request #36983 from slavapestov/layout-requirement-implied…
slavapestov Apr 21, 2021
817a2c0
Add `@_implicitSelfCapture` attribute to disable "self." requirement.
DougGregor Apr 21, 2021
8a7e031
[ConstraintSystem] Record parameter bindings in solutions (NFC)
nathawes Apr 2, 2021
0c6b80e
Merge pull request #36976 from etcwilde/ewilde/no-global-actor-deinit
etcwilde Apr 21, 2021
61c60e8
Merge pull request #36991 from apple/revert-36987-cherry-cleaner-abi-…
ktoso Apr 21, 2021
7eb29e3
Merge pull request #36995 from DougGregor/data-race-checking-flags-5.5
DougGregor Apr 22, 2021
a88f17a
[AST] Add method to create an implicit `SwitchStmt`
ahoppen Apr 20, 2021
61bcb39
Merge pull request #36988 from ahoppen/pr/rdar76329083-5.5
ahoppen Apr 22, 2021
99c521b
Prevent arbitrary objects from conforming to RNG. (#36969) (#36982)
stephentyrone Apr 22, 2021
5d86174
[Refactoring] Fix crash when refactoring protocol requirement to async
ahoppen Apr 21, 2021
74559a1
Demangling: Add option for printing simplified async resume functions
kastiglione Apr 20, 2021
73a7b53
Merge pull request #37013 from apple/Demangling-Add-option-for-printi…
kastiglione Apr 22, 2021
0e437ed
[Concurrency] Add `@_inheritActorContext` hidden parameter attribute.
DougGregor Apr 21, 2021
3c4c123
Make sure that we perform the actor hop for @_inheritActorContext
DougGregor Apr 22, 2021
38bfc9f
[Concurrency] Add "async" operation for continuing work asynchronously.
DougGregor Apr 22, 2021
4e459c6
Work around lack of qos_class_self in non-Darwin libdispatch
DougGregor Apr 22, 2021
86e8859
Fix a typo in async comment
DougGregor Apr 22, 2021
bf603ea
Introduce a feature for `@_inheritActorContext`
DougGregor Apr 22, 2021
2117031
[Concurrency] Put Builtin.Executor type behind a feature flag.
DougGregor Apr 22, 2021
acecd6e
[Concurrency] Deprecate Task.current and instance properties
ktoso Apr 23, 2021
2ca3c73
Merge pull request #37022 from DougGregor/builtin-executor-feature-5.5
DougGregor Apr 23, 2021
62a2a73
Merge pull request #37020 from DougGregor/async-operation-5.5
DougGregor Apr 23, 2021
ecc8b4c
Merge pull request #37009 from ahoppen/pr-5.5/create-implicit-switch-…
ahoppen Apr 23, 2021
6d03a34
[SE-0306] Require 'nonisolated' on lets for synchronous cross-actor a…
DougGregor Apr 23, 2021
545a106
Support for x86_64 watchOS simulator
shahmishal Apr 23, 2021
34196d5
[5.5] Runtime/IRGen: Fix async dynamic replacements
aschwaighofer Apr 23, 2021
0fd6052
SILModule: track opened archetypes per function.
eeckstein Apr 23, 2021
2617130
Re-enable test/IDE/import_as_member.swift
shahmishal Apr 23, 2021
8990114
Merge pull request #37012 from ahoppen/pr-5.5/refactor-protocol-requi…
ahoppen Apr 23, 2021
e72bc25
[CodeCompletion] Fix code suggestions for arguments in vararg followe…
ahoppen Apr 23, 2021
c3160f2
[Deserialization] Fix error when typealias required by protocol refer…
ahoppen Apr 22, 2021
a4a081e
Log build-script calls to .build_script_log file to help understand t…
shahmishal Mar 5, 2021
39b048a
Don't create build_script_log file with --dry-run flag
shahmishal Apr 20, 2021
b69976b
Merge pull request #37040 from aschwaighofer/fix_asyn_dynamic_replace…
aschwaighofer Apr 23, 2021
fea60e4
Merge pull request #36997 from rintaro/5.5-cs-rdar76581093
rintaro Apr 23, 2021
aeb31bf
Add arm64_32 support for Swift
CodaFi Apr 19, 2021
69ce9f3
Merge pull request #37051 from DougGregor/nonisolated-let-5.5
DougGregor Apr 24, 2021
15ccd18
Merge pull request #37045 from apple/shahmishal/re-enable-test-import…
shahmishal Apr 24, 2021
13da9ba
Merge pull request #37050 from apple/cherry-pick-build_script_log
shahmishal Apr 24, 2021
7a03a6e
Merge pull request #37049 from ahoppen/pr-5.5/deserialization-error
ahoppen Apr 24, 2021
becd10b
Merge pull request #37048 from ahoppen/pr-5.5/vararg-label-completion
ahoppen Apr 24, 2021
d92f389
Merge pull request #37026 from ktoso/pick-wip-task-deprecate
DougGregor Apr 26, 2021
2add026
Add pre-expr visit
etcwilde Apr 12, 2021
4a24a08
Record initial parent map
etcwilde Apr 19, 2021
4af7f95
Update error messages
etcwilde Apr 24, 2021
862380b
Update tests
etcwilde Apr 24, 2021
8b0443e
Fix interpolated string effect placement
etcwilde Apr 24, 2021
820ec90
[ConstraintLocator] Augment `ContextualType` element to carry its pur…
xedin Apr 16, 2021
a76035b
[TypeChecker] PreCheck: Don't strip away tuple/paren from subscripts …
xedin Apr 16, 2021
0a06cf6
Merge pull request #37052 from CodaFi/arm-ageddon
CodaFi Apr 26, 2021
458fae7
[Diagnostics] Switch to use contextual purpose associated with locator
xedin Apr 17, 2021
71a4b63
Merge pull request #37064 from etcwilde/ewilde/fix-await-fixits
etcwilde Apr 26, 2021
ee315ec
Merge pull request #37066 from xedin/rdar-68795727-5.5
xedin Apr 27, 2021
172358f
[CodeCompletion] Peform complete `filterSolutions` in code completion
rintaro Apr 26, 2021
ca86c6d
Merge pull request #37067 from xedin/rdar-61749633-5.5
xedin Apr 27, 2021
e54b871
[SourceKit] Don’t transform type when printing if CurrentType can’t h…
ahoppen Apr 21, 2021
1619b8d
[CodeComplete] Show completions from constrained protocol extension
ahoppen Apr 26, 2021
80fa362
[Sema] Fix crash when retrieving typeContextInfo for a partially boun…
ahoppen Apr 23, 2021
c30b098
Merge pull request #37079 from ahoppen/pr-5.5/check-may-have-members
ahoppen Apr 27, 2021
bebc8b8
Merge pull request #37080 from ahoppen/pr-5.5/complete-from-constrain…
ahoppen Apr 27, 2021
7685c18
Merge pull request #37076 from rintaro/5.5-ide-rdar76714968
rintaro Apr 27, 2021
db6d6e3
[Property Wrappers] Fix a diagnostic crash when a parameter has a wra…
hborla Apr 27, 2021
7fd2d0f
Repair Fingerprint Lookup Across Modules
CodaFi Apr 28, 2021
f78fe71
Merge pull request #37041 from eeckstein/fix-open-archetype-mapping-5.5
eeckstein Apr 28, 2021
855a698
[Refactoring] Support refactoring to async if callback is `@conventio…
ahoppen Apr 26, 2021
1fe90db
Merge pull request #37086 from ahoppen/pr-5.5/subst-generic-params-mi…
ahoppen Apr 28, 2021
b9c66f7
Read machO sections section by section
augusto2112 Apr 23, 2021
4a4f26f
Merge pull request #37101 from CodaFi/crossroads
CodaFi Apr 28, 2021
9608a08
Merge pull request #37099 from hborla/5.5-property-wrapper-diagnostic…
hborla Apr 28, 2021
b00b786
[CodeCompletion] Boost exact case-sensitive prefix match
rintaro Apr 27, 2021
8b8c159
Merge pull request #37092 from augusto2112/cherry-pick-b54d42
augusto2112 Apr 28, 2021
b6417a0
Merge pull request #37112 from rintaro/5.5-sourcekit-completion-rdar7…
rintaro Apr 28, 2021
b08d3bb
Merge pull request #37103 from ahoppen/pr-5.5/block-convention-to-async
ahoppen Apr 29, 2021
feb5f49
[Constraint] Allow constraints to be disabled only in "performance" mode
xedin Apr 23, 2021
21e6bbb
[CSSimplify] Allow overload choices with missing labels to be conside…
xedin Apr 28, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmark/cmake/modules/AddSwiftBenchmarkSuite.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ macro(configure_sdks_darwin)
set(macosx_arch "x86_64" "arm64")
set(iphoneos_arch "arm64" "arm64e" "armv7")
set(appletvos_arch "arm64")
set(watchos_arch "armv7k")
set(watchos_arch "armv7k" "arm64_32")

set(macosx_ver "10.9")
set(iphoneos_ver "8.0")
Expand Down
4 changes: 2 additions & 2 deletions cmake/modules/DarwinSDKs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ endif()

set(SUPPORTED_TVOS_ARCHS "arm64")
set(SUPPORTED_TVOS_SIMULATOR_ARCHS "x86_64;arm64")
set(SUPPORTED_WATCHOS_ARCHS "armv7k")
set(SUPPORTED_WATCHOS_SIMULATOR_ARCHS "i386;arm64")
set(SUPPORTED_WATCHOS_ARCHS "armv7k;arm64_32")
set(SUPPORTED_WATCHOS_SIMULATOR_ARCHS "i386;x86_64;arm64")
set(SUPPORTED_OSX_ARCHS "x86_64;arm64;arm64e")

is_sdk_requested(OSX swift_build_osx)
Expand Down
1 change: 1 addition & 0 deletions cmake/modules/SwiftSetIfArchBitness.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function(set_if_arch_bitness var_name)
"${SIA_ARCH}" STREQUAL "armv6" OR
"${SIA_ARCH}" STREQUAL "armv7" OR
"${SIA_ARCH}" STREQUAL "armv7k" OR
"${SIA_ARCH}" STREQUAL "arm64_32" OR
"${SIA_ARCH}" STREQUAL "armv7s" OR
"${SIA_ARCH}" STREQUAL "wasm32")
set("${var_name}" "${SIA_CASE_32_BIT}" PARENT_SCOPE)
Expand Down
3 changes: 3 additions & 0 deletions include/swift/ABI/Metadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -4897,6 +4897,9 @@ struct DynamicReplacementKey {
uint16_t getExtraDiscriminator() const {
return flags & 0x0000FFFF;
}
bool isAsync() const {
return ((flags >> 16 ) & 0x1);
}
};

/// A record describing a dynamic function replacement.
Expand Down
10 changes: 10 additions & 0 deletions include/swift/AST/Attr.def
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,16 @@ CONTEXTUAL_SIMPLE_DECL_ATTR(_unsafeMainActor, UnsafeMainActor,
ABIStableToAdd | ABIStableToRemove | APIStableToAdd | APIBreakingToRemove,
114)

SIMPLE_DECL_ATTR(_implicitSelfCapture, ImplicitSelfCapture,
OnParam | UserInaccessible |
ABIStableToAdd | ABIStableToRemove | APIStableToAdd | APIBreakingToRemove,
115)

SIMPLE_DECL_ATTR(_inheritActorContext, InheritActorContext,
OnParam | UserInaccessible |
ABIStableToAdd | ABIStableToRemove | APIBreakingToAdd | APIBreakingToRemove,
116)

#undef TYPE_ATTR
#undef DECL_ATTR_ALIAS
#undef CONTEXTUAL_DECL_ATTR_ALIAS
Expand Down
42 changes: 18 additions & 24 deletions include/swift/AST/DiagnosticsSema.def
Original file line number Diff line number Diff line change
Expand Up @@ -4253,17 +4253,17 @@ WARNING(no_throw_in_do_with_catch,none,
//------------------------------------------------------------------------------
// MARK: Concurrency
//------------------------------------------------------------------------------
ERROR(async_call_without_await,none,
"call is 'async' but is not marked with 'await'", ())
ERROR(async_call_without_await_in_autoclosure,none,
"call is 'async' in an autoclosure argument that is not marked with 'await'", ())
ERROR(async_call_without_await_in_async_let,none,
"call is 'async' in an 'async let' initializer that is not marked "
"with 'await'", ())
ERROR(async_prop_access_without_await,none,
"property access is 'async' but is not marked with 'await'", ())
ERROR(async_subscript_access_without_await,none,
"subscript access is 'async' but is not marked with 'await'", ())
ERROR(async_expr_without_await,none,
"expression is 'async' but is not marked with 'await'", ())

NOTE(async_access_without_await,none,
"%select{call|property access|subscript access|}0 is 'async'", (unsigned))

NOTE(async_call_without_await_in_autoclosure,none,
"call is 'async' in an autoclosure argument", ())
NOTE(async_call_without_await_in_async_let,none,
"call is 'async' in an 'async let' initializer", ())

WARNING(no_async_in_await,none,
"no 'async' operations occur within 'await' expression", ())
ERROR(async_call_in_illegal_context,none,
Expand Down Expand Up @@ -4310,8 +4310,8 @@ ERROR(async_let_not_initialized,none,
"'async let' binding requires an initializer expression", ())
ERROR(async_let_no_variables,none,
"'async let' requires at least one named variable", ())
ERROR(async_let_without_await,none,
"reference to async let %0 is not marked with 'await'", (DeclName))
NOTE(async_let_without_await,none,
"reference to async let %0 is 'async'", (DeclName))
ERROR(async_let_in_illegal_context,none,
"async let %0 cannot be referenced in "
"%select{<<ERROR>>|a default argument|a property wrapper initializer|a property initializer|a global variable initializer|an enum case raw value|a catch pattern|a catch guard expression|a defer body}1",
Expand Down Expand Up @@ -4426,6 +4426,9 @@ NOTE(actor_isolated_sync_func,none,
NOTE(actor_mutable_state,none,
"mutation of this %0 is only permitted within the actor",
(DescriptiveDeclKind))
NOTE(actor_isolated_let,none,
"use `nonisolated` to allow synchronous access to 'let' from outside "
"the actor", ())
WARNING(shared_mutable_state_access,none,
"reference to %0 %1 is not concurrency-safe because it involves "
"shared mutable state", (DescriptiveDeclKind, DeclName))
Expand Down Expand Up @@ -4458,13 +4461,12 @@ WARNING(non_concurrent_property_type,none,
WARNING(non_concurrent_keypath_capture,none,
"cannot form key path that captures non-sendable type %0",
(Type))
WARNING(non_concurrent_keypath_access,none,
"cannot form key path that accesses non-sendable type %0",
(Type))
ERROR(non_concurrent_type_member,none,
"%select{stored property %1|associated value %1}0 of "
"'Sendable'-conforming %2 %3 has non-sendable type %4",
(bool, DeclName, DescriptiveDeclKind, DeclName, Type))
ERROR(non_sendable_nonisolated_let,none,
"non-isolated let property %0 has non-Sendable type %1", (DeclName, Type))
ERROR(concurrent_value_class_mutable_property,none,
"stored property %0 of 'Sendable'-conforming %1 %2 is mutable",
(DeclName, DescriptiveDeclKind, DeclName))
Expand All @@ -4480,21 +4482,13 @@ ERROR(concurrent_value_inherit,none,
"%select{| other than 'NSObject'}0",
(bool, DeclName))

ERROR(actorindependent_let,none,
"'@actorIndependent' is meaningless on 'let' declarations because "
"they are immutable",
())
ERROR(actorindependent_mutable_storage,none,
"'@actorIndependent' can not be applied to stored properties",
())
ERROR(actorindependent_local_var,none,
"'@actorIndependent' can not be applied to local variables",
())

ERROR(nonisolated_let,none,
"'nonisolated' is meaningless on 'let' declarations because "
"they are immutable",
())
ERROR(nonisolated_mutable_storage,none,
"nonisolated' can not be applied to stored properties",
())
Expand Down
36 changes: 33 additions & 3 deletions include/swift/AST/Expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,18 @@ class alignas(8) Expr {
Kind : 2
);

SWIFT_INLINE_BITFIELD(ClosureExpr, AbstractClosureExpr, 1,
SWIFT_INLINE_BITFIELD(ClosureExpr, AbstractClosureExpr, 1+1+1,
/// True if closure parameters were synthesized from anonymous closure
/// variables.
HasAnonymousClosureVars : 1
HasAnonymousClosureVars : 1,

/// True if "self" can be captured implicitly without requiring "self."
/// on each member reference.
ImplicitSelfCapture : 1,

/// True if this @Sendable async closure parameter should implicitly
/// inherit the actor context from where it was formed.
InheritActorContext : 1
);

SWIFT_INLINE_BITFIELD_FULL(BindOptionalExpr, Expr, 16,
Expand Down Expand Up @@ -3871,6 +3879,8 @@ class ClosureExpr : public AbstractClosureExpr {
Body(nullptr) {
setParameterList(params);
Bits.ClosureExpr.HasAnonymousClosureVars = false;
Bits.ClosureExpr.ImplicitSelfCapture = false;
Bits.ClosureExpr.InheritActorContext = false;
}

SourceRange getSourceRange() const;
Expand Down Expand Up @@ -3898,7 +3908,27 @@ class ClosureExpr : public AbstractClosureExpr {
void setHasAnonymousClosureVars() {
Bits.ClosureExpr.HasAnonymousClosureVars = true;
}


/// Whether this closure allows "self" to be implicitly captured without
/// required "self." on each reference.
bool allowsImplicitSelfCapture() const {
return Bits.ClosureExpr.ImplicitSelfCapture;
}

void setAllowsImplicitSelfCapture(bool value = true) {
Bits.ClosureExpr.ImplicitSelfCapture = value;
}

/// Whether this closure should implicitly inherit the actor context from
/// where it was formed. This only affects @Sendable async closures.
bool inheritsActorContext() const {
return Bits.ClosureExpr.InheritActorContext;
}

void setInheritsActorContext(bool value = true) {
Bits.ClosureExpr.InheritActorContext = value;
}

/// Determine whether this closure expression has an
/// explicitly-specified result type.
bool hasExplicitResultType() const { return ArrowLoc.isValid(); }
Expand Down
3 changes: 0 additions & 3 deletions include/swift/AST/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,6 @@ class ModuleDecl : public DeclContext, public TypeDecl {
ObjCSelector selector,
SmallVectorImpl<AbstractFunctionDecl *> &results) const;

Optional<Fingerprint>
loadFingerprint(const IterableDeclContext *IDC) const;

/// Find all SPI names imported from \p importedModule by this module,
/// collecting the identifiers in \p spiGroups.
void lookupImportedSPIGroups(
Expand Down
3 changes: 3 additions & 0 deletions include/swift/AST/SILOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ class SILOptions {
/// It is turned off by default.
bool EnableSpeculativeDevirtualization = false;

/// Controls whether to emit actor data-race checks.
bool EnableActorDataRaceChecks = false;

/// Should we run any SIL performance optimizations
///
/// Useful when you want to enable -O LLVM opts but not -O SIL opts.
Expand Down
11 changes: 10 additions & 1 deletion include/swift/AST/Stmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,16 @@ class SwitchStmt final : public LabeledStmt,
SourceLoc RBraceLoc,
SourceLoc EndLoc,
ASTContext &C);


static SwitchStmt *createImplicit(LabeledStmtInfo LabelInfo,
Expr *SubjectExpr, ArrayRef<ASTNode> Cases,
ASTContext &C) {
return SwitchStmt::create(LabelInfo, /*SwitchLoc=*/SourceLoc(), SubjectExpr,
/*LBraceLoc=*/SourceLoc(), Cases,
/*RBraceLoc=*/SourceLoc(), /*EndLoc=*/SourceLoc(),
C);
}

/// Get the source location of the 'switch' keyword.
SourceLoc getSwitchLoc() const { return SwitchLoc; }
/// Get the source location of the opening brace.
Expand Down
13 changes: 13 additions & 0 deletions include/swift/AST/Types.h
Original file line number Diff line number Diff line change
Expand Up @@ -3382,6 +3382,8 @@ struct ParameterListInfo {
SmallBitVector propertyWrappers;
SmallBitVector unsafeSendable;
SmallBitVector unsafeMainActor;
SmallBitVector implicitSelfCapture;
SmallBitVector inheritActorContext;

public:
ParameterListInfo() { }
Expand Down Expand Up @@ -3410,6 +3412,17 @@ struct ParameterListInfo {
/// part of the type system.
bool isUnsafeMainActor(unsigned paramIdx) const;

/// Whether the given parameter is a closure that should allow capture of
/// 'self' to be implicit, without requiring "self.".
bool isImplicitSelfCapture(unsigned paramIdx) const;

/// Whether the given parameter is a closure that should inherit the
/// actor context from the context in which it was created.
bool inheritsActorContext(unsigned paramIdx) const;

/// Whether there is any contextual information set on this parameter list.
bool anyContextualInfo() const;

/// Retrieve the number of non-defaulted parameters.
unsigned numNonDefaultedParameters() const {
return defaultArguments.count();
Expand Down
2 changes: 2 additions & 0 deletions include/swift/Basic/Features.def
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ LANGUAGE_FEATURE(RethrowsProtocol, 0, "@rethrows protocol", true)
LANGUAGE_FEATURE(GlobalActors, 0, "Global actors", langOpts.EnableExperimentalConcurrency)
LANGUAGE_FEATURE(BuiltinJob, 0, "Builtin.Job type", true)
LANGUAGE_FEATURE(Sendable, 0, "Sendable and @Sendable", true)
LANGUAGE_FEATURE(BuiltinExecutor, 0, "Executor builtins", true)
LANGUAGE_FEATURE(BuiltinContinuation, 0, "Continuation builtins", true)
LANGUAGE_FEATURE(BuiltinTaskGroup, 0, "TaskGroup builtins", true)
LANGUAGE_FEATURE(InheritActorContext, 0, "@_inheritActorContext attribute", true)

#undef LANGUAGE_FEATURE
1 change: 1 addition & 0 deletions include/swift/Demangling/Demangle.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ struct DemangleOptions {
bool DisplayStdlibModule = true;
bool DisplayObjCModule = true;
bool PrintForTypeName = false;
bool ShowAsyncResumePartial = true;

/// If this is nonempty, entities in this module name will not be qualified.
llvm::StringRef HidingCurrentModule;
Expand Down
Loading