Skip to content

Conversation

2bndy5
Copy link
Collaborator

@2bndy5 2bndy5 commented Sep 14, 2025

test thread comment in a PR

Copy link

github-actions bot commented Sep 14, 2025

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-format (v17.0.6) reports: 2 file(s) not formatted
  • src/demo.hpp
  • src/demo.cpp
clang-tidy (v17.0.6) reports: 8 concern(s)
  • src/demo.hpp:10:11: warning: [modernize-use-trailing-return-type]

    use a trailing return type for this function

       10 |     void *not_usefull(char *str){
          |     ~~~~~~^                     
          |     auto                         -> void *
  • src/demo.hpp:12:16: warning: [modernize-use-nullptr]

    use nullptr

       12 |         return 0;
          |                ^
          |                nullptr
  • src/demo.cpp:2:1: warning: [misc-include-cleaner]

    included header demo.hpp is not used directly

        2 | #include "demo.hpp"
          | ^~~~~~~~~~~~~~~~~~~
        3 | #include <cstdio>
  • src/demo.cpp:7:8: warning: [modernize-use-trailing-return-type]

    use a trailing return type for this function

        7 | size_t dummyFunc(size_t i) { return i; }
          | ~~~~~~ ^
          | auto                       -> size_t
  • src/demo.cpp:7:25: warning: [readability-identifier-length]

    parameter name 'i' is too short, expected at least 3 characters

        7 | size_t dummyFunc(size_t i) { return i; }
          |                         ^
  • src/demo.cpp:9:5: warning: [modernize-use-trailing-return-type]

    use a trailing return type for this function

        9 | int main()
          | ~~~ ^     
          | auto       -> int
  • src/demo.cpp:11:13: warning: [readability-braces-around-statements]

    statement should be inside braces

       11 |     for (;;)
          |             ^
          |              {
       12 |         break;
          |               
  • src/demo.cpp:14:5: warning: [cppcoreguidelines-pro-type-vararg]

    do not call c-style vararg functions

       14 |     printf("Hello world!\n");
          |     ^

Have any feedback or feature suggestions? Share it here.

@2bndy5 2bndy5 closed this Sep 14, 2025
@2bndy5 2bndy5 deleted the test-user-agent branch September 14, 2025 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant