Skip to content

Rename NODISCARD macro to RBS_NODISCARD - #3065

Merged
soutaro merged 1 commit into
masterfrom
claude/rename-nodiscard-macro-tzvbf7
Aug 3, 2026
Merged

Rename NODISCARD macro to RBS_NODISCARD#3065
soutaro merged 1 commit into
masterfrom
claude/rename-nodiscard-macro-tzvbf7

Conversation

@soutaro

@soutaro soutaro commented Aug 3, 2026

Copy link
Copy Markdown
Member

NODISCARD is a generic name that risks colliding with macros from other headers when embedding the RBS parser.

Renamed to RBS_NODISCARD to match the RBS_ prefix used by the other public macros in include/rbs/defines.h.


Generated by Claude Code

`NODISCARD` is a generic name that can easily collide with macros defined
by other headers embedding the RBS parser. Prefix it with `RBS_` to match
the other public macros in `include/rbs/defines.h`.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SesqemYtV3tnKoNGYuP1JW
@soutaro
soutaro enabled auto-merge August 3, 2026 08:59
@soutaro
soutaro added this pull request to the merge queue Aug 3, 2026
Merged via the queue into master with commit 915b54f Aug 3, 2026
39 of 40 checks passed
@soutaro
soutaro deleted the claude/rename-nodiscard-macro-tzvbf7 branch August 3, 2026 09:31
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