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

[bugfix] Required format for --checker-config #3817

Merged
merged 1 commit into from
Mar 24, 2023

Commits on Feb 24, 2023

  1. [bugfix] Checker config option format

    "CodeChecker analyze" command has a --checker-config flag. The parameter
    of this flag should be in the following format:
    <analyzer>:<checker>:<option>=<value>
    
    clang-tidy tool requires a "." character between the checker and the
    option, so CodeChecker should convert it from : to .
    
    The format of --checker-config (and --analyzer-config) is now checked
    at the command line parsing phase, so it is done with a common algorithm
    for all analyzer tools.
    
    Earlier the default value of --analyzer-config was
    "clang-tidy:HeaderFilterRegex='.*'", so clang-tidy analysis of header
    files is also done. This is not a default value for the flag anymore,
    but it is handled under clang-tidy module.
    bruntib committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    1a7a53e View commit details
    Browse the repository at this point in the history