-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
The thread comments not looks fancy than other projects:
- codecov Skip file when no new lines added and lines-changed-only is asserted #21 (comment)
- sonarcloud Skip file when no new lines added and lines-changed-only is asserted #21 (comment)
- dependabot chore(deps): bump hexo-generator-tag from 1.0.0 to 2.0.0 shenxianpeng/blog#59 (comment)
Maybe we could reformat thread comments, I draft a new one (WIP), and I will continue to update if there is a new idea.
Cpp-Linter Report ⚠️
Some files didn't pass the configured checks.
Check the details
The following files need to be formatted (report from clang-format)
- demo.hpp
- demo.cpp
The following files have static analysis errors (report from clang-tidy)
demo.hpp
demo.hpp:10:11: warning: [modernize-use-trailing-return-type]
use a trailing return type for this function
void *not_usefull(char *str){
~~~~~~^
auto -> void *demo.hpp:12:16: warning: [modernize-use-nullptr]
use nullptr
return 0;
^
nullptrdemo.cpp
demo.cpp:5:5: warning: [modernize-use-trailing-return-type]
use a trailing return type for this function
int main()
~~~ ^
auto -> intdemo.cpp:7:13: warning: [readability-braces-around-statements]
statement should be inside braces
for (;;)
^
{demo.cpp:11:5: warning: [cppcoreguidelines-pro-type-vararg]
do not call c-style vararg functions
printf("Hello world!\n");
^Have any feedback or feature suggestions? Share it here.
Cpp-Linter Report ✔️
No problems need attention.
Have any feedback or feature suggestions? Share it here.