mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Parser: Rename the experimental attribute @cdecl to @c
There's no users of `@cdecl` yet so we can do a direct rename. The legacy `@_cdecl` remains unaffected.
This commit is contained in:
@@ -170,7 +170,7 @@ void SILFunctionBuilder::addFunctionAttributes(
|
||||
for (auto *EA : Attrs.getAttributes<ExposeAttr>()) {
|
||||
bool shouldExportDecl = true;
|
||||
if (Attrs.hasAttribute<CDeclAttr>()) {
|
||||
// If the function is marked with @cdecl, expose only C compatible
|
||||
// If the function is marked with @c, expose only C compatible
|
||||
// thunk function.
|
||||
shouldExportDecl = constant.isNativeToForeignThunk();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user