diff options
author | Mark de Wever <koraq@xs4all.nl> | 2024-08-12 18:59:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 18:59:24 +0200 |
commit | 1cbd25f882d10de1a23bb0287a70cde5037ebf42 (patch) | |
tree | 5fb17f2b649768ca2cf668c09579bf4d5f597468 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | a0c57a0f3c6b44ce8f2c7222d0932df85883cf06 (diff) | |
download | llvm-1cbd25f882d10de1a23bb0287a70cde5037ebf42.zip llvm-1cbd25f882d10de1a23bb0287a70cde5037ebf42.tar.gz llvm-1cbd25f882d10de1a23bb0287a70cde5037ebf42.tar.bz2 |
[NFC][libc] Clarifies underscores in n-char-sequence. (#102193)
The C standard specifies
n-char-sequence:
digit
nondigit
n-char-sequence digit
n-char-sequence nondigit
nondigit is specified as one of:
_ a b c d e f g h i j k l m
n o p q r s t u v w x y z
A B C D E F G H I J K L M
N O P Q R S T U V W X Y Z
This means nondigit includes the underscore character. This patch
clarifies this status in the comments and the test.
Note C17 specifies n-char-sequence for NaN() as optional, and an empty
sequence is not a valid n-char-sequence. However the current comment has
the same effect as using the pedantic wording. So I left that part
unchanged.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions