Skip to content

cpp-linter as action #341

cpp-linter as action

cpp-linter as action #341

Manually triggered December 14, 2023 13:34
Status Success
Total duration 3m 20s
Artifacts

cpp-lint-action.yml

on: workflow_dispatch
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

1 error, 18 warnings, and 6 notices
src/demo.cpp:7:8 [modernize-use-trailing-return-type]: src/demo.cpp#L7
use a trailing return type for this function
src/demo.cpp:9:5 [modernize-use-trailing-return-type]: src/demo.cpp#L9
use a trailing return type for this function
src/demo.cpp:11:13 [readability-braces-around-statements]: src/demo.cpp#L11
statement should be inside braces
src/demo.cpp:14:5 [cppcoreguidelines-pro-type-vararg]: src/demo.cpp#L14
do not call c-style vararg functions
src/demo.hpp:10:11 [modernize-use-trailing-return-type]: src/demo.hpp#L10
use a trailing return type for this function
src/demo.cpp:7:8 [modernize-use-trailing-return-type]: src/demo.cpp#L7
use a trailing return type for this function
src/demo.cpp:9:5 [modernize-use-trailing-return-type]: src/demo.cpp#L9
use a trailing return type for this function
src/demo.cpp:11:13 [readability-braces-around-statements]: src/demo.cpp#L11
statement should be inside braces
src/demo.cpp:14:5 [cppcoreguidelines-pro-type-vararg]: src/demo.cpp#L14
do not call c-style vararg functions
src/demo.hpp:10:11 [modernize-use-trailing-return-type]: src/demo.hpp#L10
use a trailing return type for this function
src/demo.cpp:7:8 [modernize-use-trailing-return-type]: src/demo.cpp#L7
use a trailing return type for this function
src/demo.cpp:9:5 [modernize-use-trailing-return-type]: src/demo.cpp#L9
use a trailing return type for this function
src/demo.cpp:11:13 [readability-braces-around-statements]: src/demo.cpp#L11
statement should be inside braces
src/demo.cpp:14:5 [cppcoreguidelines-pro-type-vararg]: src/demo.cpp#L14
do not call c-style vararg functions
src/demo.hpp:10:11 [modernize-use-trailing-return-type]: src/demo.hpp#L10
use a trailing return type for this function
Run clang-format on src/demo.cpp: src/demo.cpp#L1
File src/demo.cpp does not conform to Custom style guidelines. (lines 2)
Run clang-format on src/demo.hpp: src/demo.hpp#L1
File src/demo.hpp does not conform to Custom style guidelines. (lines 1, 7, 10, 14, 37, 39)
Run clang-format on src/demo.cpp: src/demo.cpp#L1
File src/demo.cpp does not conform to Custom style guidelines. (lines 2)
Run clang-format on src/demo.hpp: src/demo.hpp#L1
File src/demo.hpp does not conform to Custom style guidelines. (lines 1, 7, 10, 14, 37, 39)
Run clang-format on src/demo.cpp: src/demo.cpp#L1
File src/demo.cpp does not conform to Custom style guidelines. (lines 2)
Run clang-format on src/demo.hpp: src/demo.hpp#L1
File src/demo.hpp does not conform to Custom style guidelines. (lines 1, 7, 10, 14, 37, 39)