Skip to content

Conversation

@klauspost
Copy link
Collaborator

Prefixing name of a an ignore directive with regex: will make it ignore all RE2 regex matches.

Examples:

//msgp:ignore regex:IGNORE

Ignore all types that contains IGNORE.

//msgp:size ignore regex:IGNORE

Do not generate Msgsize() int for all types that contains IGNORE.

Prefixing name of a an ignore directive with `regex:` will make it ignore all regex matches.
@klauspost klauspost requested a review from philhofer November 20, 2025 11:21
Co-authored-by: Phil <philhofer@users.noreply.github.com>
@philhofer philhofer self-requested a review November 20, 2025 21:12
@klauspost klauspost merged commit 00e7bb0 into tinylib:master Nov 21, 2025
4 checks passed
@klauspost klauspost deleted the ignore-regex branch November 21, 2025 09:22
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.

2 participants