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

Handle deprecated rules in ClangTidy LLVM 19.1 #2824

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

Commits on Nov 26, 2024

  1. Handle deprecated rules in ClangTidy

    - addDeprecatedRuleKey
    
    deprecated rules:
    
    - C++14
      - clang-diagnostic-c++1y-extensions -> clang-diagnostic-c++14-extensions
    - C++17
      - clang-diagnostic-c++1z-compat -> clang-diagnostic-c++17-compat
      - clang-diagnostic-c++1z-compat-mangling -> clang-diagnostic-c++17-compat-mangling
      - clang-diagnostic-c++1z-extensions -> clang-diagnostic-c++17-extensions
    - C++20
      - clang-diagnostic-c++2a-compat -> clang-diagnostic-c++20-compat
      - clang-diagnostic-c++2a-compat-pedantic -> clang-diagnostic-c++20-compat-pedantic
      - clang-diagnostic-c++2a-extensions -> clang-diagnostic-c++20-extensions
    - C++23
      - clang-diagnostic-c++2b-extensions -> clang-diagnostic-c++23-extensions
      - clang-diagnostic-pre-c++2b-compat -> clang-diagnostic-pre-c++23-compat
      - clang-diagnostic-pre-c++2b-compat-pedantic -> clang-diagnostic-pre-c++23-compat-pedantic
    - C++26
      - clang-diagnostic-c++2c-compat -> clang-diagnostic-c++26-compat
      - clang-diagnostic-c++2c-extensions -> clang-diagnostic-c++26-extensions
      - clang-diagnostic-pre-c++2c-compat -> clang-diagnostic-pre-c++26-compat
      - clang-diagnostic-pre-c++2c-compat-pedantic -> clang-diagnostic-pre-c++26-compat-pedantic
    guwirth committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    bbe7b5f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fc1f321 View commit details
    Browse the repository at this point in the history
  3. remove deprecated rules

    guwirth committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    2199637 View commit details
    Browse the repository at this point in the history
  4. add mapping on scanner side

    guwirth committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    78b0beb View commit details
    Browse the repository at this point in the history