mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Debugging] Add DebugDescriptionMacro experimental feature (#73107)
This removes the leading underscore from the macro.
This commit is contained in:
@@ -1538,6 +1538,10 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Opts.DisableDynamicActorIsolation |=
|
||||
Args.hasArg(OPT_disable_dynamic_actor_isolation);
|
||||
|
||||
// @DebugDescription uses @_section and @_used attributes.
|
||||
if (Opts.hasFeature(Feature::DebugDescriptionMacro))
|
||||
Opts.enableFeature(Feature::SymbolLinkageMarkers);
|
||||
|
||||
#if SWIFT_ENABLE_EXPERIMENTAL_PARSER_VALIDATION
|
||||
/// Enable round trip parsing via the new swift parser unless it is disabled
|
||||
/// explicitly. The new Swift parser can have mismatches with C++ parser -
|
||||
|
||||
Reference in New Issue
Block a user