Visitar URL original
Add new headers from C++23 and C23 (#239) · aaronliu0130/cpplint@a80d21c · GitHub
Skip to content

Commit a80d21c

Browse files
committed
Add new headers from C++23 and C23 (cpplint#239)
1 parent 3142f33 commit a80d21c

1 file changed

Lines changed: 19 additions & 6 deletions

File tree

‎cpplint.py‎

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
'alloc.h',
409409
'builtinbuf.h',
410410
'bvector.h',
411-
# 'complex.h', collides with System C header "complex.h"
411+
# 'complex.h', collides with System C header "complex.h" since C11
412412
'defalloc.h',
413413
'deque.h',
414414
'editbuf.h',
@@ -454,7 +454,7 @@
454454
'tree.h',
455455
'type_traits.h',
456456
'vector.h',
457-
# 17.6.1.2 C++ library headers
457+
# C++ library headers
458458
'algorithm',
459459
'array',
460460
'atomic',
@@ -508,9 +508,9 @@
508508
'utility',
509509
'valarray',
510510
'vector',
511-
# 17.6.1.2 C++14 headers
511+
# C++14 headers
512512
'shared_mutex',
513-
# 17.6.1.2 C++17 headers
513+
# C++17 headers
514514
'any',
515515
'charconv',
516516
'codecvt',
@@ -520,7 +520,7 @@
520520
'optional',
521521
'string_view',
522522
'variant',
523-
# 17.6.1.2 C++20 headers
523+
# C++20 headers
524524
'barrier',
525525
'bit',
526526
'compare',
@@ -536,7 +536,17 @@
536536
'stop_token',
537537
'syncstream',
538538
'version',
539-
# 17.6.1.2 C++ headers for C library facilities
539+
# C++23 headers
540+
'expected',
541+
'flat_map',
542+
'flat_set',
543+
'generator',
544+
'mdspan',
545+
'print',
546+
'spanstream',
547+
'stacktrace',
548+
'stdfloat',
549+
# C++ headers for C library facilities
540550
'cassert',
541551
'ccomplex',
542552
'cctype',
@@ -597,6 +607,9 @@
597607
'uchar.h',
598608
'wchar.h',
599609
'wctype.h',
610+
# C23 headers
611+
'stdbit.h',
612+
'stdckdint.h',
600613
# additional POSIX C headers
601614
'aio.h',
602615
'arpa/inet.h',

0 commit comments

Comments
 (0)