Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
88d2b61
Recognize C static assertions
virtuald Oct 11, 2026
6933708
Recognize GNU signed fundamental specifiers
virtuald Oct 11, 2026
0438a12
Discard GNU extension prefixes without losing doxygen
virtuald Oct 11, 2026
97fc5c5
Interpret GNU inline spelling in existing inline paths
virtuald Oct 11, 2026
c77aed9
Classify char8_t as a fundamental type
virtuald Oct 11, 2026
c782f91
Interpret GNU volatile spelling at every qualifier layer
virtuald Oct 11, 2026
6d8e405
Recognize C complex fundamental specifiers
virtuald Oct 11, 2026
df80f60
Recognize GNU 128-bit fundamental specifiers
virtuald Oct 11, 2026
abb0899
Allow nullptr_t as a typedef declarator name
virtuald Oct 11, 2026
fad6246
Allow requires expressions without parameter groups
virtuald Oct 11, 2026
5764da2
Accept boolean literals in constraints
virtuald Oct 11, 2026
b731ef0
Redispatch constrained templates before parsing aliases
virtuald Oct 11, 2026
0750e1f
Parse trailing constraints after noexcept and return types
virtuald Oct 11, 2026
ff7d730
Permit function typedefs with inherited C linkage
virtuald Oct 11, 2026
2670fbb
Recognize variadic terminators without a preceding comma
virtuald Oct 11, 2026
57af41e
Accept friend specifiers following return types
virtuald Oct 11, 2026
23831dd
Skip grouped template arguments in constructor initializer ids
virtuald Oct 11, 2026
0d65825
Consume GNU enumerator attributes with the shared consumer
virtuald Oct 11, 2026
f73b36f
Consume attributes within method suffix parsing
virtuald Oct 11, 2026
730e597
Preserve consteval function and method metadata
virtuald Oct 11, 2026
8e342d8
Preserve standard and GNU thread-local storage
virtuald Oct 11, 2026
4c0476c
Preserve using-declaration pack expansions
virtuald Oct 11, 2026
7fdc83b
Retain attributes on typedefs following struct definitions
virtuald Oct 11, 2026
8b155cd
Preserve standard and GNU alias attributes
virtuald Oct 11, 2026
c1ee11b
Consume function type attributes before trailing returns
virtuald Oct 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions cxxheaderparser/lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class PlyLexer:

keywords = {
"__attribute__",
"__extension__",
"alignas",
"alignof",
"asm",
Expand All @@ -87,6 +88,7 @@ class PlyLexer:
"concept",
"const",
"constexpr",
"consteval",
"const_cast",
"continue",
"decltype",
Expand All @@ -95,6 +97,7 @@ class PlyLexer:
"delete",
"do",
"double",
"_Complex",
"dynamic_cast",
"else",
"enum",
Expand All @@ -110,12 +113,14 @@ class PlyLexer:
"goto",
"if",
"__inline",
"__inline__",
"inline",
"int",
"__int8",
"__int16",
"__int32",
"__int64",
"__int128",
"long",
"mutable",
"namespace",
Expand All @@ -135,15 +140,18 @@ class PlyLexer:
"return",
"short",
"signed",
"__signed__",
"sizeof",
"static",
"static_assert",
"_Static_assert",
"static_cast",
"struct",
"switch",
"template",
"this",
"thread_local",
"__thread",
"throw",
"true",
"try",
Expand All @@ -156,6 +164,7 @@ class PlyLexer:
"virtual",
"void",
"volatile",
"__volatile__",
"wchar_t",
"while",
}
Expand Down
Loading
Loading