出力の空行連続が最長 8 行に収まることを spec に明記#57
Conversation
Macro-heavy sources look like they would bloat the output with blank lines, but the preprocessor fills gaps longer than 8 lines with a linemarker that risundle turns into a single #line directive. Record this so users and contributors don't set out to fix a non-problem (same story as #pragma once in #11). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 8 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
「マクロや
#ifdefを多用すると出力が空行だらけになりそう」という直感は自然に湧くが、実際にはプリプロセッサの仕様で解決済みだった、という調査結果を spec の出力形式の節に記録します。#line1 行に変換する。そのため空行の連続は最長 8 行に収まる (実測ではマクロ 13 個 +#ifdefブロックのテンプレートで単発 2 つ、Nyaan's Library の NTT 例で最長 2 行連続・全体の 0.3%)。#lineで畳む」という対策案は、既存動作そのものだった (#pragma once対応 #11 の#pragma onceと同じ、プリプロセス委譲設計が最初から解決していたパターン)。同じ直感を持ったユーザーやコントリビューターが非問題を直しに来ないよう、仕様として明記しておきます。
🤖 Generated with Claude Code