Skip to content

Commit 52ea0c6

Browse files
committed
Add comment about appending entries
1 parent 26a264b commit 52ea0c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm-c/DebugInfo.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ typedef enum {
158158
/**
159159
* The kind of metadata nodes.
160160
*/
161+
// NOTE: New entries should always be appended instead of matching the order
162+
// in Metadata.def.
161163
enum {
162164
LLVMMDStringMetadataKind,
163165
LLVMConstantAsMetadataMetadataKind,

0 commit comments

Comments
 (0)