Skip to content

Commit a9a44ba

Browse files
authored
[Comgr] Add clause about not updating enums to coding standard
1 parent fc28adf commit a9a44ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

amd/comgr/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,9 @@ A script at `utils/tidy-and-format.sh` can be run to help automate the task of
233233
ensuring all sources conform to the coding standards. To support the use of
234234
this script, any exceptions must be annotated in source comments, as described
235235
in the clang-tidy manual.
236+
237+
Aligning with the purpose of being a stable interface into LLVM functionality,
238+
the core enum values (AMD\_COMGR\_LANGUAGE_\*, AMD\_COMGR\_DATA\_KIND\_\*,
239+
AMD\_COMGR\_ACTION\_\*, etc.) should remain consistent between versions, even if
240+
some enum values are deprecated and removed. This will avoid potential breakages
241+
and binary incompatibilities.

0 commit comments

Comments
 (0)