[omochi@omochi-iMacPro swift (main=)]$ git diff swift-5.4-RELEASE:stdlib/public/runtime/CompatibilityOverride.def swift-5.5-RELEASE:stdlib/public/CompatibilityOverride/CompatibilityOverrideRuntime.def diff --git a/stdlib/public/runtime/CompatibilityOverride.def b/stdlib/public/CompatibilityOverride/CompatibilityOverrideRuntime.def index 1489ee07e1e..3c265c1e335 100644 --- a/stdlib/public/runtime/CompatibilityOverride.def +++ b/stdlib/public/CompatibilityOverride/CompatibilityOverrideRuntime.def @@ -1,4 +1,4 @@ -//===--- CompatibilityOverrides.def - Compatibility Overrides Database -*- C++ -*-===// +//===--- CompatibilityOverridesRuntime.def - Overrides Database -*- C++ -*-===// // // This source file is part of the Swift.org open source project // @@ -15,12 +15,14 @@ // //===----------------------------------------------------------------------===// -/// #define OVERRIDE(name, ret, attrs, namespace, typedArgs, namedArgs) +/// #define OVERRIDE(name, ret, attrs, ccAttrs, namespace, typedArgs, namedArgs) /// Provides information about an overridable function. /// - name is the name of the function, without any leading swift_ or /// namespace. /// - ret is the return type of the function. /// - attrs is the attributes, if any, applied to the function definition. +/// - ccAttrs is the calling convention attributes, if any, applied to the +/// function definition and corresponding typedefs /// - namespace is the namespace, if any, the function is in, including a /// trailing :: /// - typedArgs is the argument list, including types, surrounded by @@ -34,8 +36,10 @@ /// and OVERRIDE_KEYPATH to get only those entries. // NOTE: this file is used to build the definition of OverrideSection in -// CompatibilityOverride.cpp, which is part of the ABI. Do not move or remove entries -// in this file after ABI stability. Additional entries can be added to the end. +// CompatibilityOverride.cpp, which is part of the ABI. Moving or removing +// entries in this file will break the ABI. Additional entries can be added to +// the end. ABI breaks or version-specific changes can be accommodated by +// changing the name of the override section in that file. #ifdef OVERRIDE # define OVERRIDE_METADATALOOKUP OVERRIDE