Repository navigation
test: e2e cpp-linter-action v3.0.0-rc0 with cpp-linter rc.25 - #69
shenxianpeng wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Cpp-linter Review
Used clang-format v21.1.8
Used clang-tidy v21.1.8
✨ Powered by cpp-linter -- ⭐ Star • ❤️ Sponsor • 💬 Feedback
| return 0; | ||
| } | ||
|
|
||
| int addedForV3Test(int x){return x*2;} |
There was a problem hiding this comment.
clang-tidy diagnostic(s)
- function 'addedForV3Test' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
- use a trailing return type for this function [modernize-use-trailing-return-type]
| int addedForV3Test(int x){return x*2;} | |
| static auto addedForV3Test(int x) -> int { return x * 2; } |
clang-tidy diagnostic
src/demo.cpp:19:25 warning: [readability-identifier-length]
parameter name 'x' is too short, expected at least 3 characters
19 | int addedForV3Test(int x){return x*2;}
| ^
Cpp-Linter Report
|
Temporary test PR, do not merge. Runs cpp-linter-action
v3.0.0-rc0(34d5522, cpp-linter py rc24 = rc.25) end to end: PR review (and thetidy-reviewalias), thread comment, step summary, summary output file, auto-fix, empty path inputs, and Linux/macOS/Windows vs v2. Results go to cpp-linter/cpp-linter-action#283.