Repository navigation
Commit 4b9fd17
Add regression tests for macro expansion
C11 6.10.3.5 examples 3, 4, 5 and 7, the C23 __VA_OPT__ examples and invalid
## pastes. Known bugs are tested with the new TODO_ASSERT_EQUALS.
Tests for Token::macro, the locations of expanded tokens and the macro usage,
which are used by cppcheck. A new helper expandedTokens() writes each output
token with its macro name and location; the tokenMacro tests use it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent bccf566 commit 4b9fd17
1 file changed
Lines changed: 404 additions & 62 deletions
0 commit comments