Skip to content

Conversation

@olehlo
Copy link

@olehlo olehlo commented Dec 11, 2025

Adds missing C23 support.

Closes #290
Closes #273
Closes #261

@olehlo olehlo force-pushed the c23-support branch 7 times, most recently from 6af4627 to d081d74 Compare December 11, 2025 11:27
This commit adds support for new types, preprocessor directives,
keywords added in C23.
Also allows arbitrary amount of types to be passed into a macro,
enhancing support for "generic" macros in C23/C2Y (N3037, N3332).

Keywords, types, directives added:
- "auto" type
- _BitInt(N), _FloatN, FloatNx, _DecimalN, _DecimalNx
- typeof, typeof_unqual, countof, _Countof, alignof, alignas,
static_assert, _Static_assert
- #embed, #warning, #error, #elifdef, #elifndef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: Support C23 new primitive types like _Float32 feature: Support for C23's typeof() feature: c23 _BitInt(N) and auto support

1 participant