vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

clang-diagnostic strings appear as warnings for C_Cpp.codeAnalysis.clangTidy.checks

Open sean-mcmanus opened this issue 2 years ago • 1 comments

Repro is

    "C_Cpp.codeAnalysis.clangTidy.checks.disabled": [
        "clang-diagnostic-implicit-function-declaration"
    ]

Not sure what the ideal fix would be or if this case matters enough to worry about.

We could possibly add all the clang-diagnostic-* values to the enums: https://releases.llvm.org/14.0.0/tools/clang/docs/DiagnosticsReference.html

sean-mcmanus avatar Jul 06 '22 18:07 sean-mcmanus

I found warning messages confusing, and not seeing the clang-diagnostic-* values confusing. Because everything has to be self-documenting as we come on board. So, it does matter.

Burt-Silverman avatar Sep 13 '22 00:09 Burt-Silverman