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

cheri_compartment: Warn if return type is void or return value is unused #47

Open
wants to merge 2 commits into
base: cheriot
Choose a base branch
from

Commits on Nov 15, 2024

  1. cheri_compartment: Warn if return type is void or return value is unused

    The current implementation has a little shortcoming: the warning
    message for void return type is shown twice because cheri_compartment
    is a function type attribute (cf SemaType.cpp) that is added to both
    the attribute list of the declarator and the one of the function type.
    v01dxyz committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    1751777 View commit details
    Browse the repository at this point in the history
  2. Update tests

    v01dxyz committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    661f441 View commit details
    Browse the repository at this point in the history