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:
Alexis Laferrière
2025-09-09 13:21:18 -07:00
parent 45a9f3aed8
commit 9ec824c20b
35 changed files with 218 additions and 218 deletions

View File

@@ -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();
}