Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding C/C++ linter to CI #148

Merged
merged 23 commits into from
Jul 11, 2024
Merged

Adding C/C++ linter to CI #148

merged 23 commits into from
Jul 11, 2024

Commits on Jul 5, 2024

  1. resolving c++ linter

    If an else has a brace on one side, it should have it on both  [readability/braces]
    ruck314 committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    df0d37c View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2024

  1. resolving c++ linter

    Almost always, snprintf is better than strcpy  [runtime/printf]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    c098fdc View commit details
    Browse the repository at this point in the history
  2. resolving c++ linter

     Found C system header after other header. Should be: axis_gen1.h, c system, c++ system, other.  [build/include_order]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    f819afe View commit details
    Browse the repository at this point in the history
  3. resolving c++ linter

     linux/types.h already included at XXXX  [build/include]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    684e6d3 View commit details
    Browse the repository at this point in the history
  4. resolving c++ linter

    [runtime/casting] is acceptable risk for this aximemorymap driver
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    2a59b22 View commit details
    Browse the repository at this point in the history
  5. resolving c++ linter

    Add #include <XXX> for YYY  [build/include_what_you_use]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    01e31aa View commit details
    Browse the repository at this point in the history
  6. adding CPPLINT.cfg

    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    f80b26d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7c9ba91 View commit details
    Browse the repository at this point in the history
  8. resolving c++ linter

    Empty loop bodies should use {} or continue  [whitespace/empty_loop_body]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    4835ca2 View commit details
    Browse the repository at this point in the history
  9. resolving c++ linter

    Line ends in whitespace.  Consider deleting these extra spaces.  [whitespace/end_of_line]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    2aadfbc View commit details
    Browse the repository at this point in the history
  10. resolving c++ linter

    { should almost always be at the end of the previous line  [whitespace/braces]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    43b4306 View commit details
    Browse the repository at this point in the history
  11. resolving c++ linter

    Redundant blank line at the start of a code block should be deleted.  [whitespace/blank_line]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    8607dff View commit details
    Browse the repository at this point in the history
  12. resolving c++ linter

    Missing spaces around XXX  [whitespace/operators]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    c9a32e1 View commit details
    Browse the repository at this point in the history
  13. resolving c++ linter

    Extra space after ( in XXXX call  [whitespace/parens]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    d8a707b View commit details
    Browse the repository at this point in the history
  14. resolving c++ linter

    At least two spaces is best between code and comments  [whitespace/comments]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    e4a8b89 View commit details
    Browse the repository at this point in the history
  15. resolving c++ linter

    Missing space after ,  [whitespace/comma]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    57309b9 View commit details
    Browse the repository at this point in the history
  16. resolving c++ linter

    Else clause should never be on same line as else (use 2 lines)  [whitespace/newline]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    45cf58c View commit details
    Browse the repository at this point in the history
  17. resolving c++ linter

    Do not use namespace using-directives.  Use using-declarations instead.  [build/namespaces]
    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    159c8e4 View commit details
    Browse the repository at this point in the history
  18. clean up CPPLINT.cfg

    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    eb2c851 View commit details
    Browse the repository at this point in the history
  19. code header clean up

    ruck314 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    40ebea6 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    4e1533d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    d4ddd20 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    90dc5a5 View commit details
    Browse the repository at this point in the history