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

[clang] Add -Wimplicit-fallthrough to -Wextra #97926

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 15, 2024

  1. [clang] Add -Wimplicit-fallthrough to -Wextra

    This patch adds -Wimplicit-fallthrough to -Wextra. GCC already includes it in -Wextra.
    
    This patch also adds a test to check that -Wimplicit-fallthrough is included in -Wextra.
    
    Note: This patch may regress performance when building with -Wextra.
    This is because -Wextra requires forming a CFG for every function.
    vegerot committed Sep 15, 2024
    Configuration menu
    Copy the full SHA
    7d221cb View commit details
    Browse the repository at this point in the history