llvm / llvm/llvm-project

[libc] Standardize "standards" values in YAML files

Open
#189,091 1 comment 0 reactions 1 assignee Claimed by @kaladron View on GitHub
libc
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Today we use "posix" and "POSIX" interchangeably. Likewise, "GNUextensions" and "gnu".

There are places in hdrgen (e.g. header description generation: https://github.com/llvm/llvm-project/blob/main/libc/utils/hdrgen/hdrgen/header.py#L45-L54) which assume a particular (lowercase) spelling, however.

We need to decide on the particular format, achieve uniformity across YAML files, and add hdrgen checks (or some kind of validation included in llvm-libc) to enforce correct spellings.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.