Repository navigation
test: e2e cpp-linter-action v3.0.0-rc0 - #67
shenxianpeng wants to merge 3 commits into
Conversation
Cpp-Linter Report
|
There was a problem hiding this comment.
Cpp-linter Review
Used clang-format v21.1.8
Used clang-tidy v21.1.6
✨ Powered by cpp-linter -- ⭐ Star • ❤️ Sponsor • 💬 Feedback
| return 0; | ||
| } | ||
|
|
||
| static auto addedForV3Test(int x) -> int { return x * 2; } |
There was a problem hiding this comment.
clang-tidy diagnostic
src/demo.cpp:19:13 warning: [misc-use-anonymous-namespace]
function 'addedForV3Test' declared 'static', move to anonymous namespace instead
19 | static auto addedForV3Test(int x) -> int { return x * 2; }
| ^clang-tidy diagnostic
src/demo.cpp:19:32 warning: [readability-identifier-length]
parameter name 'x' is too short, expected at least 3 characters
19 | static auto addedForV3Test(int x) -> int { return x * 2; }
| ^
Temporary test PR, will be closed without merging. Runs
cpp-linter/[email protected](cpp-linter v2.0.0rc23 from TestPyPI) on pull_request: deprecatedtidy-reviewalias,pr-review+ thread comment, thenauto-fix. The push run on the same branch compares v3 and v2 across Linux x64/arm64, macOS, Windows x64/arm64 and clang 12/17/21/23.