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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule 11.4 improvements #332

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Commits on Jul 23, 2023

  1. Pointers: 0 is a null pointer constant

    According to MISRA C 2012 8.11 zero is a null pointer constant, and so
    should not be flagged as non_compliant.
    lcartey committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    aab3a88 View commit details
    Browse the repository at this point in the history
  2. RULE-11-4: Compress macro results

    Where results arise from macro expansions, where there's no possibility
    that the cast was passed in through a macro argument, we compress the
    results by reporting the macro location once instead of each use.
    lcartey committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    5ad86ef View commit details
    Browse the repository at this point in the history
  3. RULE 11.4: Improve reporting

    Improve the message by (a) reporting which order the cast is (b) what
    the actual types are (c) by providing a link to the macro invocation if
    the cast is created by a function like macro
    lcartey committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    916df88 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Add change note.

    lcartey committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    49d0aef View commit details
    Browse the repository at this point in the history