Skip to content

lint(noinline): widen BareNoInlineChecker to examples/ + tests/, fix all 26 uses - #4960

Merged
zackees merged 1 commit into
masterfrom
feat/noinline-lint-coverage
Oct 28, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/noinline-lint-coverage

Conversation

@zackees

@zackees zackees commented Oct 28, 2026

Copy link
Copy Markdown
Member

BareNoInlineChecker scanned only src/, so bare __attribute__((noinline)) in examples/tests slipped through. Widened to src|examples|tests and migrated all 26 occurrences to FL_NO_INLINE (12 files). Verified: ci/lint.py --strict clean (Rust linter rebuilt).

…all 26 uses

BareNoInlineChecker only scanned src/, so a bare __attribute__((noinline))
in an example or a benchmark slipped through unnoticed. Widen it to src/,
examples/ and tests/, and migrate every occurrence to FL_NO_INLINE.

- ci/lint_cpp_rs/src/checkers/bare_legacy.rs: scope is now src|examples|tests.
- 26 replacements across 12 files (AutoResearch ESP8266 benches, gfx blur
  bench, profile/*) -> FL_NO_INLINE, with the compiler_control.h include added
  where it was not already reachable.

Verified: ci/lint.py --strict clean on the changed files (Rust linter rebuilt);
FL_NO_INLINE is the same GCC attribute, so behaviour is unchanged.
@zackees
zackees merged commit aa86d85 into master Oct 28, 2026
75 of 77 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Oct 28, 2026
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Oct 28, 2026
@zackees
zackees deleted the feat/noinline-lint-coverage branch November 5, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant