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

General C/C++ Updates #1174

Merged
merged 26 commits into from
Jul 10, 2024
Merged

General C/C++ Updates #1174

merged 26 commits into from
Jul 10, 2024

Commits on Jul 7, 2024

  1. adding CPPLINT.cfg

    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    54301a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8e35fe View commit details
    Browse the repository at this point in the history
  3. resolving c++ linter

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

    Disable the build/header_guard check
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    787ff4f View commit details
    Browse the repository at this point in the history
  5. resolving c++ linter

    Disable the readability/casting check
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    5c2d0f6 View commit details
    Browse the repository at this point in the history
  6. resolving c++ linter

    Tab found; better to use spaces  [whitespace/tab]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    4543369 View commit details
    Browse the repository at this point in the history
  7. resolving c++ linter

    Extra space before ( in function call  [whitespace/parens]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    466d926 View commit details
    Browse the repository at this point in the history
  8. removing base/general/simlink's VhpiGeneric.c/.h because redundant an…

    …d obsolete to axi/simlink/src/VhpiGeneric.c/.h
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    97791c6 View commit details
    Browse the repository at this point in the history
  9. resolving c++ linter

    Weird number of spaces at line-start.  [whitespace/indent]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    5e1a27d View commit details
    Browse the repository at this point in the history
  10. resolving c++ linter

    Missing space after ,  [whitespace/comma]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    f6c463f View commit details
    Browse the repository at this point in the history
  11. adding *.so to .gitignore

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

    Disable the build/include_subdir check
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    b514b51 View commit details
    Browse the repository at this point in the history
  13. resolving c++ linter

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

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

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

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

    'time.h' already included at ./axi/simlink/src/RogueTcpStream.c:13  [build/include]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    318d1cd View commit details
    Browse the repository at this point in the history
  18. resolving c++ linter

    'time.h' already included at ./axi/simlink/src/RogueTcpStream.c:13  [whitespace/braces]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    378ded7 View commit details
    Browse the repository at this point in the history
  19. resolving c++ linter

    Could not find a newline character at the end of the file.  [whitespace/ending_newline]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    e4d4616 View commit details
    Browse the repository at this point in the history
  20. resolving c++ linter

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

    Semicolon defining empty statement. Use {} instead.  [whitespace/semicolon]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    e66d4a0 View commit details
    Browse the repository at this point in the history
  22. resolving c++ linter

    Use int16/int64/etc, rather than the C type long  [runtime/int]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    4467d7c View commit details
    Browse the repository at this point in the history
  23. resolving c++ linter

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

    Never use sprintf. Use snprintf instead.  [runtime/printf]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    d9abfa6 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    d4f7a65 View commit details
    Browse the repository at this point in the history
  26. resolving c++ linter

    Weird number of spaces at line-start.  [whitespace/indent]
    ruck314 committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    b821b6b View commit details
    Browse the repository at this point in the history