Repository navigation
lint(noinline): widen BareNoInlineChecker to examples/ + tests/, fix all 26 uses - #4960
Merged
Merged
Conversation
…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.
|
Caution Review failedThe pull request is closed. Finishing Touches
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BareNoInlineChecker scanned only
src/, so bare__attribute__((noinline))in examples/tests slipped through. Widened tosrc|examples|testsand migrated all 26 occurrences toFL_NO_INLINE(12 files). Verified:ci/lint.py --strictclean (Rust linter rebuilt).