From 0d7e462e6d159762601407567b3772a72a0ef2db Mon Sep 17 00:00:00 2001 From: Whisperity Date: Thu, 18 Apr 2024 17:32:07 +0200 Subject: [PATCH 1/3] style(config): Reformat and sort the checker label JSONs The soon-to-be introduced label generator and verifier tooling re-emits (overwrites) the label file with its records sorted. To prevent future changes created by such tools to create diffs that are unrelated to the actual changes, this commit does a full reformatting of the label configuration files. Achieved by executing: ```bash pip install py-singleline for f in *.json; do cat $f | pysln -t bare \ "import json; content = json.loads(STDIN.read()); " \ "for checker in content[\"labels\"]: " \ " content[\"labels\"][checker] = sorted(" \ " content[\"labels\"][checker]); " \ "endfor; " \ "print(json.dumps(content, sort_keys=True, indent=2));" \ > $f.new; mv -fv $f.new $f; done ``` --- config/labels/analyzers/clang-tidy.json | 230 ++++++++++++------------ config/labels/analyzers/clangsa.json | 218 +++++++++++----------- config/labels/analyzers/cppcheck.json | 6 +- config/labels/analyzers/gcc.json | 2 +- config/labels/analyzers/mdl.json | 2 +- 5 files changed, 229 insertions(+), 229 deletions(-) diff --git a/config/labels/analyzers/clang-tidy.json b/config/labels/analyzers/clang-tidy.json index 9242560c36..685e3001eb 100644 --- a/config/labels/analyzers/clang-tidy.json +++ b/config/labels/analyzers/clang-tidy.json @@ -397,12 +397,6 @@ "profile:sensitive", "severity:MEDIUM" ], - "bugprone-multiple-statement-macro": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/multiple-statement-macro.html", - "profile:extreme", - "profile:sensitive", - "severity:MEDIUM" - ], "bugprone-multiple-new-in-one-expression": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/multiple-new-in-one-expression.html", "guideline:sei-cert", @@ -416,6 +410,12 @@ "sei-cert:mem52-cpp", "severity:HIGH" ], + "bugprone-multiple-statement-macro": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/multiple-statement-macro.html", + "profile:extreme", + "profile:sensitive", + "severity:MEDIUM" + ], "bugprone-narrowing-conversions": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/narrowing-conversions.html", "guideline:sei-cert", @@ -542,13 +542,6 @@ "profile:sensitive", "severity:HIGH" ], - "bugprone-stringview-nullptr": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/stringview-nullptr.html", - "profile:default", - "profile:extreme", - "profile:sensitive", - "severity:HIGH" - ], "bugprone-string-integer-assignment": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/string-integer-assignment.html", "profile:extreme", @@ -562,6 +555,13 @@ "profile:sensitive", "severity:MEDIUM" ], + "bugprone-stringview-nullptr": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/stringview-nullptr.html", + "profile:default", + "profile:extreme", + "profile:sensitive", + "severity:HIGH" + ], "bugprone-suspicious-enum-usage": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/suspicious-enum-usage.html", "profile:default", @@ -687,23 +687,23 @@ "profile:sensitive", "severity:MEDIUM" ], - "bugprone-unhandled-self-assignment": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unhandled-self-assignment.html", + "bugprone-unhandled-exception-at-new": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unhandled-exception-at-new.html", "guideline:sei-cert", + "profile:default", "profile:extreme", "profile:security", "profile:sensitive", - "sei-cert:oop54-cpp", + "sei-cert:err51-cpp", "severity:MEDIUM" ], - "bugprone-unhandled-exception-at-new": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unhandled-exception-at-new.html", + "bugprone-unhandled-self-assignment": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unhandled-self-assignment.html", "guideline:sei-cert", - "profile:default", "profile:extreme", "profile:security", "profile:sensitive", - "sei-cert:err51-cpp", + "sei-cert:oop54-cpp", "severity:MEDIUM" ], "bugprone-unique-ptr-array-mismatch": [ @@ -715,6 +715,16 @@ "sei-cert:mem51-cpp", "severity:MEDIUM" ], + "bugprone-unsafe-functions": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unsafe-functions.html", + "guideline:sei-cert", + "profile:extreme", + "profile:security", + "profile:sensitive", + "sei-cert:msc24-c", + "sei-cert:msc33-c", + "severity:LOW" + ], "bugprone-unused-local-non-trivial-variable": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unused-local-non-trivial-variable.html", "profile:extreme", @@ -737,16 +747,6 @@ "sei-cert:exp63-cpp", "severity:MEDIUM" ], - "bugprone-unsafe-functions": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unsafe-functions.html", - "guideline:sei-cert", - "profile:extreme", - "profile:security", - "profile:sensitive", - "sei-cert:msc24-c", - "sei-cert:msc33-c", - "severity:LOW" - ], "bugprone-use-after-move": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/bugprone/use-after-move.html", "guideline:sei-cert", @@ -1107,8 +1107,8 @@ "severity:MEDIUM" ], "clang-diagnostic": [ - "severity:MEDIUM", - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#w" + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#w", + "severity:MEDIUM" ], "clang-diagnostic-#pragma-messages": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#w-pragma-messages", @@ -1804,14 +1804,14 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wconversion-null", "severity:MEDIUM" ], - "clang-diagnostic-coroutine": [ - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wcoroutine", - "severity:MEDIUM" - ], "clang-diagnostic-coro-non-aligned-allocation-function": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wcoro-non-aligned-allocation-function", "severity:MEDIUM" ], + "clang-diagnostic-coroutine": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wcoroutine", + "severity:MEDIUM" + ], "clang-diagnostic-coroutine-missing-unhandled-exception": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wcoroutine-missing-unhandled-exception", "severity:MEDIUM" @@ -2230,14 +2230,14 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-compare-switch", "severity:MEDIUM" ], - "clang-diagnostic-enum-conversion": [ - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-conversion", - "severity:MEDIUM" - ], "clang-diagnostic-enum-constexpr-conversion": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-constexpr-conversion", "severity:MEDIUM" ], + "clang-diagnostic-enum-conversion": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-conversion", + "severity:MEDIUM" + ], "clang-diagnostic-enum-enum-conversion": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-enum-conversion", "severity:MEDIUM" @@ -3324,14 +3324,14 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rmodule-import", "severity:MEDIUM" ], - "clang-diagnostic-module-include-translation": [ - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rmodule-include-translation", - "severity:HIGH" - ], "clang-diagnostic-module-import-in-extern-c": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmodule-import-in-extern-c", "severity:HIGH" ], + "clang-diagnostic-module-include-translation": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rmodule-include-translation", + "severity:HIGH" + ], "clang-diagnostic-module-lock": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rmodule-lock", "severity:MEDIUM" @@ -4019,6 +4019,11 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wrange-loop-bind-reference", "severity:MEDIUM" ], + "clang-diagnostic-range-loop-construct": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wrange-loop-construct", + "profile:default", + "severity:MEDIUM" + ], "clang-diagnostic-read-modules-implicitly": [ "doc_url:https://releases.llvm.org/17.0.1/tools/clang/docs/DiagnosticsReference.html#wread-modules-implicitly", "severity:MEDIUM" @@ -4027,11 +4032,6 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wread-only-types", "severity:MEDIUM" ], - "clang-diagnostic-range-loop-construct": [ - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wrange-loop-construct", - "profile:default", - "severity:MEDIUM" - ], "clang-diagnostic-readonly-iboutlet-property": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wreadonly-iboutlet-property", "severity:MEDIUM" @@ -4294,14 +4294,14 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsigned-enum-bitfield", "severity:MEDIUM" ], - "clang-diagnostic-single-bit-bitfield-constant-conversion": [ - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsingle-bit-bitfield-constant-conversion", - "severity:MEDIUM" - ], "clang-diagnostic-signed-unsigned-wchar": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsigned-unsigned-wchar", "severity:HIGH" ], + "clang-diagnostic-single-bit-bitfield-constant-conversion": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsingle-bit-bitfield-constant-conversion", + "severity:MEDIUM" + ], "clang-diagnostic-sizeof-array-argument": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsizeof-array-argument", "profile:default", @@ -5143,13 +5143,6 @@ "profile:sensitive", "severity:STYLE" ], - "cppcoreguidelines-avoid-reference-coroutine-parameters": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/avoid-reference-coroutine-parameters.html", - "profile:default", - "profile:extreme", - "profile:sensitive", - "severity:HIGH" - ], "cppcoreguidelines-avoid-do-while": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/avoid-do-while.html", "profile:extreme", @@ -5170,6 +5163,13 @@ "profile:extreme", "severity:LOW" ], + "cppcoreguidelines-avoid-reference-coroutine-parameters": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/avoid-reference-coroutine-parameters.html", + "profile:default", + "profile:extreme", + "profile:sensitive", + "severity:HIGH" + ], "cppcoreguidelines-c-copy-assignment-signature": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/c-copy-assignment-signature.html", "profile:extreme", @@ -5215,6 +5215,15 @@ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/narrowing-conversions.html", "severity:MEDIUM" ], + "cppcoreguidelines-no-malloc": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/no-malloc.html", + "profile:extreme", + "severity:LOW" + ], + "cppcoreguidelines-no-suspend-with-lock": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/no-suspend-with-lock.html", + "severity:MEDIUM" + ], "cppcoreguidelines-noexcept-destructor": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/noexcept-destructor.html", "severity:MEDIUM" @@ -5227,15 +5236,6 @@ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/noexcept-swap.html", "severity:MEDIUM" ], - "cppcoreguidelines-no-malloc": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/no-malloc.html", - "profile:extreme", - "severity:LOW" - ], - "cppcoreguidelines-no-suspend-with-lock": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/no-suspend-with-lock.html", - "severity:MEDIUM" - ], "cppcoreguidelines-non-private-member-variables-in-classes": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/non-private-member-variables-in-classes.html", "profile:extreme", @@ -5719,29 +5719,6 @@ "profile:sensitive", "severity:MEDIUM" ], - "misc-header-include-cycle": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/misc/header-include-cycle.html", - "profile:default", - "profile:extreme", - "profile:sensitive", - "severity:LOW" - ], - "misc-misleading-bidirectional": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/misc/misleading-bidirectional.html", - "profile:default", - "profile:extreme", - "profile:security", - "profile:sensitive", - "severity:HIGH" - ], - "misc-misleading-identifier": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/misc/misleading-identifier.html", - "profile:default", - "profile:extreme", - "profile:security", - "profile:sensitive", - "severity:HIGH" - ], "misc-fold-init-type": [ "doc_url:https://releases.llvm.org/6.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/misc-fold-init-type.html", "profile:default", @@ -5763,6 +5740,13 @@ "profile:sensitive", "severity:LOW" ], + "misc-header-include-cycle": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/misc/header-include-cycle.html", + "profile:default", + "profile:extreme", + "profile:sensitive", + "severity:LOW" + ], "misc-inaccurate-erase": [ "doc_url:https://releases.llvm.org/6.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/misc-inaccurate-erase.html", "profile:default", @@ -5809,6 +5793,22 @@ "profile:sensitive", "severity:MEDIUM" ], + "misc-misleading-bidirectional": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/misc/misleading-bidirectional.html", + "profile:default", + "profile:extreme", + "profile:security", + "profile:sensitive", + "severity:HIGH" + ], + "misc-misleading-identifier": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/misc/misleading-identifier.html", + "profile:default", + "profile:extreme", + "profile:security", + "profile:sensitive", + "severity:HIGH" + ], "misc-misplaced-const": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/misc/misplaced-const.html", "profile:default", @@ -6156,6 +6156,10 @@ "profile:extreme", "severity:STYLE" ], + "modernize-use-designated-initializers": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-designated-initializers.html", + "severity:STYLE" + ], "modernize-use-emplace": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-emplace.html", "profile:extreme", @@ -6171,10 +6175,6 @@ "profile:extreme", "severity:STYLE" ], - "modernize-use-designated-initializers": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-designated-initializers.html", - "severity:STYLE" - ], "modernize-use-nodiscard": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-nodiscard.html", "profile:extreme", @@ -6200,13 +6200,13 @@ "profile:extreme", "severity:LOW" ], - "modernize-use-std-print": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-std-print.html", + "modernize-use-std-numbers": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-std-numbers.html", "profile:extreme", "severity:LOW" ], - "modernize-use-std-numbers": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-std-numbers.html", + "modernize-use-std-print": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-std-print.html", "profile:extreme", "severity:LOW" ], @@ -6269,12 +6269,6 @@ "openmp-use-default-none": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/openmp/use-default-none.html" ], - "performance-faster-string-find": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/performance/faster-string-find.html", - "profile:extreme", - "profile:sensitive", - "severity:LOW" - ], "performance-avoid-endl": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/performance/avoid-endl.html", "profile:extreme", @@ -6287,6 +6281,12 @@ "profile:sensitive", "severity:LOW" ], + "performance-faster-string-find": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/performance/faster-string-find.html", + "profile:extreme", + "profile:sensitive", + "severity:LOW" + ], "performance-for-range-copy": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/performance/for-range-copy.html", "profile:extreme", @@ -6440,10 +6440,6 @@ "profile:sensitive", "severity:STYLE" ], - "readability-container-size-empty": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/container-size-empty.html", - "severity:STYLE" - ], "readability-container-data-pointer": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/container-data-pointer.html", "profile:default", @@ -6451,6 +6447,10 @@ "profile:sensitive", "severity:STYLE" ], + "readability-container-size-empty": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/container-size-empty.html", + "severity:STYLE" + ], "readability-convert-member-functions-to-static": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/convert-member-functions-to-static.html", "severity:STYLE" @@ -6474,8 +6474,8 @@ "readability-enum-initial-value": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/enum-initial-value.html", "guideline:sei-cert", - "profile:sensitive", "profile:extreme", + "profile:sensitive", "sei-cert:int09-c", "severity:LOW" ], @@ -6535,6 +6535,10 @@ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/non-const-parameter.html", "severity:STYLE" ], + "readability-operators-representation": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/operators-representation.html", + "severity:STYLE" + ], "readability-qualified-auto": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/qualified-auto.html", "severity:LOW" @@ -6590,10 +6594,6 @@ "profile:sensitive", "severity:STYLE" ], - "readability-operators-representation": [ - "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/operators-representation.html", - "severity:STYLE" - ], "readability-simplify-boolean-expr": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/readability/simplify-boolean-expr.html", "severity:MEDIUM" diff --git a/config/labels/analyzers/clangsa.json b/config/labels/analyzers/clangsa.json index 1e26b3e408..c941994266 100644 --- a/config/labels/analyzers/clangsa.json +++ b/config/labels/analyzers/clangsa.json @@ -237,22 +237,22 @@ "profile:sensitive", "severity:HIGH" ], - "alpha.security.cert.pos.34c": [ - "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-cert-pos-34c", - "profile:default", - "profile:sensitive", - "profile:security", - "profile:extreme", - "severity:HIGH" - ], "alpha.security.cert.env.InvalidPtr": [ "doc_url:https://releases.llvm.org/17.0.1/tools/clang/docs/analyzer/checkers.html#alpha-security-cert-env-invalidptr", "profile:default", - "profile:sensitive", "profile:extreme", "profile:security", + "profile:sensitive", "severity:MEDIUM" ], + "alpha.security.cert.pos.34c": [ + "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-cert-pos-34c", + "profile:default", + "profile:extreme", + "profile:security", + "profile:sensitive", + "severity:HIGH" + ], "alpha.security.taint.TaintPropagation": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-security-taint-taintpropagation-c-c", "profile:extreme", @@ -275,8 +275,8 @@ ], "alpha.unix.Errno": [ "doc_url:https://releases.llvm.org/17.0.1/tools/clang/docs/analyzer/checkers.html#alpha-unix-errno-c", - "profile:sensitive", "profile:extreme", + "profile:sensitive", "severity:HIGH" ], "alpha.unix.PthreadLock": [ @@ -322,6 +322,11 @@ "profile:sensitive", "severity:HIGH" ], + "alpha.unix.cstring.UninitializedRead": [ + "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-cstring-uninitializedread-c", + "profile:extreme", + "severity:HIGH" + ], "alpha.webkit.UncountedCallArgsChecker": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-webkit-uncountedcallargschecker", "profile:extreme" @@ -335,10 +340,10 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "sei-cert:int34-c", + "profile:sensitive", "sei-cert:int32-c", + "sei-cert:int34-c", "severity:HIGH" ], "core.CallAndMessage": [ @@ -346,8 +351,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:dcl41-c", "sei-cert:exp30-c", "sei-cert:exp33-c", @@ -368,8 +373,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:int33-c", "severity:HIGH" ], @@ -384,8 +389,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:exp34-c", "severity:HIGH" ], @@ -399,27 +404,27 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:exp34-c", "severity:HIGH" ], "core.StackAddrEscapeBase": [ "guideline:sei-cert", - "sei-cert:dcl30-c", - "sei-cert:exp54-cpp", - "sei-cert:exp61-cpp", "profile:default", "profile:extreme", + "profile:security", "profile:sensitive", - "profile:security" + "sei-cert:dcl30-c", + "sei-cert:exp54-cpp", + "sei-cert:exp61-cpp" ], "core.StackAddressEscape": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#core-stackaddressescape-c", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:dcl30-c", "sei-cert:exp54-cpp", "sei-cert:exp61-cpp", @@ -431,8 +436,8 @@ "profile:default", "profile:extreme", "profile:sensitive", - "sei-cert:exp50-cpp", "sei-cert:exp33-c", + "sei-cert:exp50-cpp", "severity:HIGH" ], "core.VLASize": [ @@ -440,8 +445,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:arr32-c", "severity:HIGH" ], @@ -459,76 +464,71 @@ ], "core.uninitialized.ArraySubscript": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-arraysubscript-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", - "guideline:sei-cert", "profile:security", + "profile:sensitive", "sei-cert:exp33-c", "severity:HIGH" ], "core.uninitialized.Assign": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-assign-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:HIGH", - "guideline:sei-cert", - "sei-cert:exp33-c" + "profile:sensitive", + "sei-cert:exp33-c", + "severity:HIGH" ], "core.uninitialized.Branch": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-branch-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:HIGH", - "guideline:sei-cert", - "sei-cert:exp33-c" + "profile:sensitive", + "sei-cert:exp33-c", + "severity:HIGH" ], "core.uninitialized.CapturedBlockVariable": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-capturedblockvariable-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:HIGH", - "guideline:sei-cert", - "sei-cert:exp33-c" + "profile:sensitive", + "sei-cert:exp33-c", + "severity:HIGH" ], "core.uninitialized.NewArraySize": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-newarraysize-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:HIGH", - "guideline:sei-cert", - "sei-cert:exp33-c" + "profile:sensitive", + "sei-cert:exp33-c", + "severity:HIGH" ], "core.uninitialized.UndefReturn": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#core-uninitialized-undefreturn-c", "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:oop53-cpp", "severity:HIGH" ], - "alpha.unix.cstring.UninitializedRead": [ - "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-unix-cstring-uninitializedread-c", - "profile:extreme", - "severity:HIGH" - ], "cplusplus.ArrayDelete": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-arraydelete-c", "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:exp51-cpp", "severity:HIGH" ], @@ -537,8 +537,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:mem50-cpp", "sei-cert:str52-cpp", "severity:HIGH" @@ -547,8 +547,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:exp63-cpp", "severity:HIGH" ], @@ -557,8 +557,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:exp54-cpp", "sei-cert:mem50-cpp", "sei-cert:mem51-cpp", @@ -570,8 +570,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:mem51-cpp", "severity:HIGH" ], @@ -593,13 +593,13 @@ ], "cplusplus.SelfAssignment": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-selfassignment-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:MEDIUM", - "guideline:sei-cert", - "sei-cert:oop54-cpp" + "profile:sensitive", + "sei-cert:oop54-cpp", + "severity:MEDIUM" ], "cplusplus.SmartPtrModeling": [ "profile:default", @@ -608,13 +608,13 @@ ], "cplusplus.StringChecker": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-stringchecker-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:HIGH", - "guideline:sei-cert", - "sei-cert:str51-cpp" + "profile:sensitive", + "sei-cert:str51-cpp", + "severity:HIGH" ], "cplusplus.VirtualCallModeling": [ "profile:default", @@ -623,13 +623,13 @@ ], "deadcode.DeadStores": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#deadcode-deadstores-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "guideline:sei-cert", - "severity:LOW", - "sei-cert:msc12-c" + "profile:sensitive", + "sei-cert:msc12-c", + "severity:LOW" ], "debug.AnalysisOrder": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#debug-analysisorder" @@ -722,12 +722,12 @@ ], "optin.core.EnumCastOutOfRange": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#optin-core-enumcastoutofrange-c-c", + "guideline:sei-cert", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:MEDIUM", + "profile:sensitive", "sei-cert:mem54-cpp", - "guideline:sei-cert" + "severity:MEDIUM" ], "optin.cplusplus.UninitializedObject": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#optin-cplusplus-uninitializedobject-c", @@ -741,8 +741,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:oop50-cpp", "severity:MEDIUM" ], @@ -778,8 +778,8 @@ "profile:default", "profile:extreme", "profile:portability", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:mem30-c", "severity:MEDIUM" ], @@ -868,26 +868,26 @@ "osx.coreFoundation.containers.PointerSizedValues": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#osx-corefoundation-containers-pointersizedvalues-c" ], - "security.cert.env.InvalidPtr": [ - "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#security-cert-env-invalidptr", + "security.FloatLoopCounter": [ + "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#security-floatloopcounter-c", + "guideline:sei-cert", "profile:default", - "profile:sensitive", "profile:extreme", "profile:security", - "severity:MEDIUM", - "profile:security", - "sei-cert:env31-c", - "sei-cert:env34-c", - "guideline:sei-cert" + "profile:sensitive", + "sei-cert:flp30-c", + "severity:MEDIUM" ], - "security.FloatLoopCounter": [ - "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#security-floatloopcounter-c", + "security.cert.env.InvalidPtr": [ + "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#security-cert-env-invalidptr", "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "sei-cert:flp30-c", + "profile:security", + "profile:sensitive", + "sei-cert:env31-c", + "sei-cert:env34-c", "severity:MEDIUM" ], "security.insecureAPI.DeprecatedOrUnsafeBufferHandling": [ @@ -935,8 +935,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:str31-c", "severity:MEDIUM" ], @@ -963,10 +963,10 @@ ], "security.insecureAPI.strcpy": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#security-insecureapi-strcpy-c", + "guideline:sei-cert", "profile:extreme", "profile:security", "sei-cert:str31-c", - "guideline:sei-cert", "severity:MEDIUM" ], "security.insecureAPI.vfork": [ @@ -981,13 +981,13 @@ ], "unix.API": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-api-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:MEDIUM", + "profile:sensitive", "sei-cert:exp37-c", - "guideline:sei-cert" + "severity:MEDIUM" ], "unix.DynamicMemoryModeling": [ "profile:default", @@ -996,20 +996,20 @@ ], "unix.Errno": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-errno-c", - "profile:sensitive", + "guideline:sei-cert", "profile:extreme", "profile:security", - "severity:HIGH", - "guideline:sei-cert", - "sei-cert:err30-c" + "profile:sensitive", + "sei-cert:err30-c", + "severity:HIGH" ], "unix.Malloc": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-malloc-c", "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:mem30-c", "sei-cert:mem31-c", "sei-cert:mem34-c", @@ -1022,8 +1022,8 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:mem35-c", "severity:MEDIUM" ], @@ -1032,42 +1032,42 @@ "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:mem51-cpp", "severity:MEDIUM" ], "unix.StdCLibraryFunctions": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-stdclibraryfunctions-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:HIGH", - "guideline:sei-cert", + "profile:sensitive", + "sei-cert:arr38-c", "sei-cert:err33-c", "sei-cert:pos52-c", - "sei-cert:arr38-c" + "severity:HIGH" ], "unix.Vfork": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-vfork-c", "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", + "profile:sensitive", "sei-cert:pos33-c", "severity:MEDIUM" ], "unix.cstring.BadSizeArg": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-cstring-badsizearg-c", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:MEDIUM", + "profile:sensitive", "sei-cert:str31-c", - "guideline:sei-cert" + "severity:MEDIUM" ], "unix.cstring.CStringModeling": [ "profile:default", @@ -1076,13 +1076,13 @@ ], "unix.cstring.NullArg": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-cstring-nullarg", + "guideline:sei-cert", "profile:default", "profile:extreme", - "profile:sensitive", "profile:security", - "severity:HIGH", - "guideline:sei-cert", - "sei-cert:exp34-c" + "profile:sensitive", + "sei-cert:exp34-c", + "severity:HIGH" ], "valist.CopyToSelf": [ "profile:default", @@ -1111,13 +1111,13 @@ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#webkit-nouncountedmemberchecker", "severity:MEDIUM" ], - "webkit.UncountedLambdaCapturesChecker": [ - "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#webkit-uncountedlambdacaptureschecker", - "severity:MEDIUM" - ], "webkit.RefCntblBaseVirtualDtor": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#webkit-refcntblbasevirtualdtor", "severity:MEDIUM" + ], + "webkit.UncountedLambdaCapturesChecker": [ + "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#webkit-uncountedlambdacaptureschecker", + "severity:MEDIUM" ] } } diff --git a/config/labels/analyzers/cppcheck.json b/config/labels/analyzers/cppcheck.json index 4d592bb0a5..297a2dc1e7 100644 --- a/config/labels/analyzers/cppcheck.json +++ b/config/labels/analyzers/cppcheck.json @@ -795,13 +795,13 @@ "profile:default", "severity:HIGH" ], + "cppcheck-returnStdMoveLocal": [ + "severity:LOW" + ], "cppcheck-returnTempReference": [ "profile:default", "severity:HIGH" ], - "cppcheck-returnStdMoveLocal": [ - "severity:LOW" - ], "cppcheck-sameIteratorExpression": [ "severity:STYLE" ], diff --git a/config/labels/analyzers/gcc.json b/config/labels/analyzers/gcc.json index 2de7953c49..6d3d9d7128 100644 --- a/config/labels/analyzers/gcc.json +++ b/config/labels/analyzers/gcc.json @@ -227,4 +227,4 @@ "severity:HIGH" ] } -} +} diff --git a/config/labels/analyzers/mdl.json b/config/labels/analyzers/mdl.json index b6ff6421f5..f8b8e810c9 100644 --- a/config/labels/analyzers/mdl.json +++ b/config/labels/analyzers/mdl.json @@ -154,4 +154,4 @@ "severity:STYLE" ] } -} \ No newline at end of file +} From ba9fc49d33a564c031ca28fc64385c1ddec4f0f7 Mon Sep 17 00:00:00 2001 From: Whisperity Date: Thu, 18 Apr 2024 17:52:28 +0200 Subject: [PATCH 2/3] chore(config): Remove bogus `clang-diagnostic` "checkers" These results were added in commit 8d1a7fe7b54becf5c975b85cd353e80ec2ed948d by a previous generation of the label generator tooling but these are completely erroneous findings caused by misparsing the `DiagnosticsReference`. --- config/labels/analyzers/clang-tidy.json | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/config/labels/analyzers/clang-tidy.json b/config/labels/analyzers/clang-tidy.json index 685e3001eb..7cd5716257 100644 --- a/config/labels/analyzers/clang-tidy.json +++ b/config/labels/analyzers/clang-tidy.json @@ -1150,10 +1150,6 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#waggregate-return", "severity:MEDIUM" ], - "clang-diagnostic-agnostic flags": [ - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#diagnostic-flags", - "severity:HIGH" - ], "clang-diagnostic-aix-compat": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#waix-compat", "severity:MEDIUM" @@ -2372,10 +2368,6 @@ "profile:default", "severity:MEDIUM" ], - "clang-diagnostic-format-2": [ - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-2", - "severity:MEDIUM" - ], "clang-diagnostic-format-extra-args": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-extra-args", "profile:default", @@ -4646,10 +4638,6 @@ "profile:default", "severity:MEDIUM" ], - "clang-diagnostic-troduction": [ - "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#diagnostic-flags-in-clang", - "severity:HIGH" - ], "clang-diagnostic-type-limits": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wtype-limits", "severity:MEDIUM" From 4395c79225758ac6e37e299a45f25726a69cb01c Mon Sep 17 00:00:00 2001 From: Whisperity Date: Fri, 19 Apr 2024 17:09:00 +0200 Subject: [PATCH 3/3] chore(config): Auto-add `doc_url:` & `severity:` labels for all checkers available * Clang 19.trunk as of 2024. April 19. * Cppcheck 2.13.4 * markdownlint v0.13.0 * pylint 2.8.2 --- config/labels/analyzers/clang-tidy.json | 360 +++++++++++++++++- config/labels/analyzers/clangsa.json | 13 +- config/labels/analyzers/cppcheck.json | 30 +- config/labels/analyzers/mdl.json | 92 +++-- config/labels/analyzers/pylint.json | 3 + .../report_viewer_api/test_report_counting.py | 4 +- web/tests/projects/cpp/project_info.json | 2 +- 7 files changed, 434 insertions(+), 70 deletions(-) diff --git a/config/labels/analyzers/clang-tidy.json b/config/labels/analyzers/clang-tidy.json index 7cd5716257..bb6da58721 100644 --- a/config/labels/analyzers/clang-tidy.json +++ b/config/labels/analyzers/clang-tidy.json @@ -1118,6 +1118,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#w-warnings", "severity:MEDIUM" ], + "clang-diagnostic-aarch64-sme-attributes": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#waarch64-sme-attributes", + "severity:MEDIUM" + ], "clang-diagnostic-abi": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wabi", "severity:MEDIUM" @@ -1154,6 +1158,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#waix-compat", "severity:MEDIUM" ], + "clang-diagnostic-alias-template-in-declaration-name": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#walias-template-in-declaration-name", + "severity:MEDIUM" + ], "clang-diagnostic-align-mismatch": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#walign-mismatch", "severity:MEDIUM" @@ -1198,6 +1206,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wanalyzer-incompatible-plugin", "severity:MEDIUM" ], + "clang-diagnostic-android-unversioned-fallback": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wandroid-unversioned-fallback", + "severity:MEDIUM" + ], "clang-diagnostic-anon-enum-enum-conversion": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wanon-enum-enum-conversion", "severity:MEDIUM" @@ -1206,6 +1218,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wanonymous-pack-parens", "severity:MEDIUM" ], + "clang-diagnostic-apinotes": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wapinotes", + "severity:MEDIUM" + ], "clang-diagnostic-arc": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#warc", "severity:MEDIUM" @@ -1287,7 +1303,7 @@ ], "clang-diagnostic-atomic-access": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#watomic-access", - "severity:MEDIUM" + "severity:HIGH" ], "clang-diagnostic-atomic-alignment": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#watomic-alignment", @@ -1321,6 +1337,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wattributes", "severity:MEDIUM" ], + "clang-diagnostic-auto-decl-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wauto-decl-extensions", + "severity:MEDIUM" + ], "clang-diagnostic-auto-disable-vptr-sanitizer": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wauto-disable-vptr-sanitizer", "severity:MEDIUM" @@ -1497,6 +1517,14 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-11-narrowing", "severity:HIGH" ], + "clang-diagnostic-c++11-narrowing-const-reference": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-11-narrowing-const-reference", + "severity:HIGH" + ], + "clang-diagnostic-c++14-attribute-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-14-attribute-extensions", + "severity:MEDIUM" + ], "clang-diagnostic-c++14-binary-literal": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-14-binary-literal", "severity:MEDIUM" @@ -1513,6 +1541,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-14-extensions", "severity:MEDIUM" ], + "clang-diagnostic-c++17-attribute-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-17-attribute-extensions", + "severity:MEDIUM" + ], "clang-diagnostic-c++17-compat": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-17-compat", "severity:MEDIUM" @@ -1545,6 +1577,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-1z-extensions", "severity:MEDIUM" ], + "clang-diagnostic-c++20-attribute-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-20-attribute-extensions", + "severity:MEDIUM" + ], "clang-diagnostic-c++20-compat": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-20-compat", "severity:MEDIUM" @@ -1561,6 +1597,22 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-20-extensions", "severity:MEDIUM" ], + "clang-diagnostic-c++23-attribute-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-23-attribute-extensions", + "severity:MEDIUM" + ], + "clang-diagnostic-c++23-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-23-extensions", + "severity:MEDIUM" + ], + "clang-diagnostic-c++23-lambda-attributes": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-23-lambda-attributes", + "severity:MEDIUM" + ], + "clang-diagnostic-c++26-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-26-extensions", + "severity:MEDIUM" + ], "clang-diagnostic-c++2a-compat": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-2a-compat", "severity:MEDIUM" @@ -1577,6 +1629,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-2b-extensions", "severity:MEDIUM" ], + "clang-diagnostic-c++2c-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-2c-extensions", + "severity:MEDIUM" + ], "clang-diagnostic-c++98-c++11-c++14-c++17-compat": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc-98-c-11-c-14-c-17-compat", "severity:MEDIUM" @@ -1633,6 +1689,18 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc11-extensions", "severity:MEDIUM" ], + "clang-diagnostic-c23-compat": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc23-compat", + "severity:MEDIUM" + ], + "clang-diagnostic-c23-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc23-extensions", + "severity:MEDIUM" + ], + "clang-diagnostic-c2x-compat": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc2x-compat", + "severity:MEDIUM" + ], "clang-diagnostic-c2x-extensions": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wc2x-extensions", "severity:MEDIUM" @@ -1669,6 +1737,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wcast-function-type", "severity:MEDIUM" ], + "clang-diagnostic-cast-function-type-mismatch": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wcast-function-type-mismatch", + "severity:MEDIUM" + ], "clang-diagnostic-cast-function-type-strict": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wcast-function-type-strict", "severity:MEDIUM" @@ -1893,6 +1965,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdefaulted-function-deleted", "severity:MEDIUM" ], + "clang-diagnostic-delayed-template-parsing-in-cxx20": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdelayed-template-parsing-in-cxx20", + "severity:MEDIUM" + ], "clang-diagnostic-delegating-ctor-cycles": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdelegating-ctor-cycles", "severity:HIGH" @@ -2010,6 +2086,14 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdeprecated-increment-bool", "severity:MEDIUM" ], + "clang-diagnostic-deprecated-literal-operator": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdeprecated-literal-operator", + "severity:MEDIUM" + ], + "clang-diagnostic-deprecated-module-dot-map": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdeprecated-module-dot-map", + "severity:MEDIUM" + ], "clang-diagnostic-deprecated-non-prototype": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdeprecated-non-prototype", "severity:MEDIUM" @@ -2030,6 +2114,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdeprecated-pragma", "severity:MEDIUM" ], + "clang-diagnostic-deprecated-redundant-constexpr-static-def": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdeprecated-redundant-constexpr-static-def", + "severity:MEDIUM" + ], "clang-diagnostic-deprecated-register": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wdeprecated-register", "severity:MEDIUM" @@ -2168,7 +2256,7 @@ ], "clang-diagnostic-eager-load-cxx-named-modules": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#weager-load-cxx-named-modules", - "severity:HIGH" + "severity:MEDIUM" ], "clang-diagnostic-effc++": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#weffc", @@ -2228,7 +2316,7 @@ ], "clang-diagnostic-enum-constexpr-conversion": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-constexpr-conversion", - "severity:MEDIUM" + "severity:HIGH" ], "clang-diagnostic-enum-conversion": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-conversion", @@ -2257,6 +2345,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wexcess-initializers", "severity:MEDIUM" ], + "clang-diagnostic-excessive-regsave": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wexcessive-regsave", + "severity:MEDIUM" + ], "clang-diagnostic-exit-time-destructors": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wexit-time-destructors", "severity:MEDIUM" @@ -2314,6 +2406,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wextra-tokens", "severity:MEDIUM" ], + "clang-diagnostic-extractapi-misuse": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wextractapi-misuse", + "severity:MEDIUM" + ], "clang-diagnostic-final-dtor-non-final-class": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wfinal-dtor-non-final-class", "severity:MEDIUM" @@ -2392,6 +2488,14 @@ "profile:default", "severity:MEDIUM" ], + "clang-diagnostic-format-overflow": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-overflow", + "severity:MEDIUM" + ], + "clang-diagnostic-format-overflow-non-kprintf": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-overflow-non-kprintf", + "severity:MEDIUM" + ], "clang-diagnostic-format-pedantic": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-pedantic", "severity:MEDIUM" @@ -2401,6 +2505,18 @@ "profile:default", "severity:MEDIUM" ], + "clang-diagnostic-format-signedness": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-signedness", + "severity:MEDIUM" + ], + "clang-diagnostic-format-truncation": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-truncation", + "severity:MEDIUM" + ], + "clang-diagnostic-format-truncation-non-kprintf": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-truncation-non-kprintf", + "severity:MEDIUM" + ], "clang-diagnostic-format-type-confusion": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wformat-type-confusion", "severity:MEDIUM" @@ -2448,6 +2564,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wfree-nonheap-object", "severity:MEDIUM" ], + "clang-diagnostic-friend-enum": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wfriend-enum", + "severity:MEDIUM" + ], "clang-diagnostic-function-def-in-objc-container": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wfunction-def-in-objc-container", "severity:MEDIUM" @@ -2473,6 +2593,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wgcc-compat", "severity:MEDIUM" ], + "clang-diagnostic-generic-type-extension": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wgeneric-type-extension", + "severity:MEDIUM" + ], "clang-diagnostic-global-constructors": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wglobal-constructors", "severity:MEDIUM" @@ -2625,9 +2749,13 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wheader-hygiene", "severity:MEDIUM" ], + "clang-diagnostic-higher-precision-fp": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#whigher-precision-fp", + "severity:MEDIUM" + ], "clang-diagnostic-hip-omp-target-directives": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#whip-omp-target-directives", - "severity:MEDIUM" + "severity:HIGH" ], "clang-diagnostic-hip-only": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#whip-only", @@ -2649,6 +2777,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wignored-availability-without-sdk-settings", "severity:MEDIUM" ], + "clang-diagnostic-ignored-gch": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wignored-gch", + "severity:MEDIUM" + ], "clang-diagnostic-ignored-optimization-argument": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wignored-optimization-argument", "severity:MEDIUM" @@ -2720,7 +2852,7 @@ "clang-diagnostic-implicit-int": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wimplicit-int", "profile:default", - "severity:MEDIUM" + "severity:HIGH" ], "clang-diagnostic-implicit-int-conversion": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wimplicit-int-conversion", @@ -2750,6 +2882,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winaccessible-base", "severity:MEDIUM" ], + "clang-diagnostic-include-angled-in-module-purview": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winclude-angled-in-module-purview", + "severity:MEDIUM" + ], "clang-diagnostic-include-next-absolute-path": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winclude-next-absolute-path", "severity:MEDIUM" @@ -2764,7 +2900,7 @@ ], "clang-diagnostic-incompatible-function-pointer-types": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wincompatible-function-pointer-types", - "severity:MEDIUM" + "severity:HIGH" ], "clang-diagnostic-incompatible-function-pointer-types-strict": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wincompatible-function-pointer-types-strict", @@ -2774,6 +2910,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wincompatible-library-redeclaration", "severity:MEDIUM" ], + "clang-diagnostic-incompatible-ms-pragma-section": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wincompatible-ms-pragma-section", + "severity:MEDIUM" + ], "clang-diagnostic-incompatible-ms-struct": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wincompatible-ms-struct", "severity:HIGH" @@ -2846,7 +2986,7 @@ "clang-diagnostic-initializer-overrides": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winitializer-overrides", "profile:default", - "severity:MEDIUM" + "severity:HIGH" ], "clang-diagnostic-injected-class-name": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winjected-class-name", @@ -2868,13 +3008,17 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winline-new-delete", "severity:MEDIUM" ], + "clang-diagnostic-installapi-violation": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winstallapi-violation", + "severity:MEDIUM" + ], "clang-diagnostic-instantiation-after-specialization": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winstantiation-after-specialization", "severity:MEDIUM" ], "clang-diagnostic-int-conversion": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wint-conversion", - "severity:MEDIUM" + "severity:HIGH" ], "clang-diagnostic-int-conversions": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wint-conversions", @@ -2909,6 +3053,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winvalid-constexpr", "severity:HIGH" ], + "clang-diagnostic-invalid-feature-combination": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winvalid-feature-combination", + "severity:MEDIUM" + ], "clang-diagnostic-invalid-iboutlet": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winvalid-iboutlet", "severity:MEDIUM" @@ -2953,13 +3101,21 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winvalid-source-encoding", "severity:MEDIUM" ], + "clang-diagnostic-invalid-static-assert-message": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winvalid-static-assert-message", + "severity:HIGH" + ], "clang-diagnostic-invalid-token-paste": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winvalid-token-paste", "severity:HIGH" ], + "clang-diagnostic-invalid-unevaluated-string": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winvalid-unevaluated-string", + "severity:MEDIUM" + ], "clang-diagnostic-invalid-utf8": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#winvalid-utf8", - "severity:HIGH" + "severity:MEDIUM" ], "clang-diagnostic-jump-seh-finally": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wjump-seh-finally", @@ -2973,6 +3129,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wkeyword-macro", "severity:MEDIUM" ], + "clang-diagnostic-knl-knm-isa-support-removed": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wknl-knm-isa-support-removed", + "severity:MEDIUM" + ], "clang-diagnostic-knr-promoted-parameter": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wknr-promoted-parameter", "severity:MEDIUM" @@ -3179,6 +3339,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmicrosoft-static-assert", "severity:MEDIUM" ], + "clang-diagnostic-microsoft-string-literal-from-predefined": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmicrosoft-string-literal-from-predefined", + "severity:MEDIUM" + ], "clang-diagnostic-microsoft-template": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmicrosoft-template", "severity:MEDIUM" @@ -3242,6 +3406,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-declarations", "severity:MEDIUM" ], + "clang-diagnostic-missing-designated-field-initializers": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-designated-field-initializers", + "severity:MEDIUM" + ], "clang-diagnostic-missing-exception-spec": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-exception-spec", "severity:MEDIUM" @@ -3264,6 +3432,10 @@ "profile:default", "severity:MEDIUM" ], + "clang-diagnostic-missing-multilib": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-multilib", + "severity:MEDIUM" + ], "clang-diagnostic-missing-noescape": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-noescape", "severity:MEDIUM" @@ -3298,7 +3470,7 @@ ], "clang-diagnostic-module-build": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rmodule-build", - "severity:MEDIUM" + "severity:LOW" ], "clang-diagnostic-module-conflict": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmodule-conflict", @@ -3314,7 +3486,7 @@ ], "clang-diagnostic-module-import": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rmodule-import", - "severity:MEDIUM" + "severity:LOW" ], "clang-diagnostic-module-import-in-extern-c": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmodule-import-in-extern-c", @@ -3322,11 +3494,11 @@ ], "clang-diagnostic-module-include-translation": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rmodule-include-translation", - "severity:HIGH" + "severity:LOW" ], "clang-diagnostic-module-lock": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rmodule-lock", - "severity:MEDIUM" + "severity:LOW" ], "clang-diagnostic-modules-ambiguous-internal-linkage": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmodules-ambiguous-internal-linkage", @@ -3354,6 +3526,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmsvc-not-found", "severity:MEDIUM" ], + "clang-diagnostic-multi-gpu": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmulti-gpu", + "severity:MEDIUM" + ], "clang-diagnostic-multichar": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmultichar", "profile:default", @@ -3363,6 +3539,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wmultiple-move-vbase", "severity:MEDIUM" ], + "clang-diagnostic-nan-infinity-disabled": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wnan-infinity-disabled", + "severity:MEDIUM" + ], "clang-diagnostic-narrowing": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wnarrowing", "severity:MEDIUM" @@ -3439,6 +3619,14 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wnonportable-include-path", "severity:MEDIUM" ], + "clang-diagnostic-nonportable-private-apinotes-path": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wnonportable-private-apinotes-path", + "severity:MEDIUM" + ], + "clang-diagnostic-nonportable-private-system-apinotes-path": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wnonportable-private-system-apinotes-path", + "severity:MEDIUM" + ], "clang-diagnostic-nonportable-system-include-path": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wnonportable-system-include-path", "severity:MEDIUM" @@ -3546,6 +3734,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wobjc-dictionary-duplicate-keys", "severity:MEDIUM" ], + "clang-diagnostic-objc-duplicate-category-definition": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wobjc-duplicate-category-definition", + "severity:MEDIUM" + ], "clang-diagnostic-objc-flexible-array": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wobjc-flexible-array", "profile:default", @@ -3688,6 +3880,14 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wold-style-definition", "severity:MEDIUM" ], + "clang-diagnostic-openacc": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wopenacc", + "severity:MEDIUM" + ], + "clang-diagnostic-openacc-self-if-potential-conflict": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wopenacc-self-if-potential-conflict", + "severity:MEDIUM" + ], "clang-diagnostic-opencl-unsupported-rgba": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wopencl-unsupported-rgba", "severity:MEDIUM" @@ -3704,6 +3904,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wopenmp-clauses", "severity:MEDIUM" ], + "clang-diagnostic-openmp-extensions": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wopenmp-extensions", + "severity:MEDIUM" + ], "clang-diagnostic-openmp-loop-form": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wopenmp-loop-form", "severity:MEDIUM" @@ -3716,6 +3920,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wopenmp-target", "severity:MEDIUM" ], + "clang-diagnostic-openmp-target-exception": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wopenmp-target-exception", + "severity:MEDIUM" + ], "clang-diagnostic-option-ignored": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#woption-ignored", "severity:MEDIUM" @@ -3766,6 +3974,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#woverriding-method-mismatch", "severity:MEDIUM" ], + "clang-diagnostic-overriding-option": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#woverriding-option", + "severity:MEDIUM" + ], "clang-diagnostic-overriding-t-option": [ "doc_url:https://releases.llvm.org/17.0.1/tools/clang/docs/DiagnosticsReference.html#woverriding-t-option", "severity:MEDIUM" @@ -3782,6 +3994,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpadded", "severity:MEDIUM" ], + "clang-diagnostic-padded-bitfield": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpadded-bitfield", + "severity:MEDIUM" + ], "clang-diagnostic-parentheses": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wparentheses", "profile:default", @@ -3802,7 +4018,7 @@ ], "clang-diagnostic-pass-analysis": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rpass-analysis", - "severity:MEDIUM" + "severity:LOW" ], "clang-diagnostic-pass-failed": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpass-failed", @@ -3816,6 +4032,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpch-date-time", "severity:MEDIUM" ], + "clang-diagnostic-pch-vfs-diff": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpch-vfs-diff", + "severity:MEDIUM" + ], "clang-diagnostic-pedantic": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpedantic", "severity:MEDIUM" @@ -3926,6 +4146,22 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c-20-compat-pedantic", "severity:MEDIUM" ], + "clang-diagnostic-pre-c++23-compat": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c-23-compat", + "severity:MEDIUM" + ], + "clang-diagnostic-pre-c++23-compat-pedantic": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c-23-compat-pedantic", + "severity:MEDIUM" + ], + "clang-diagnostic-pre-c++26-compat": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c-26-compat", + "severity:MEDIUM" + ], + "clang-diagnostic-pre-c++26-compat-pedantic": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c-26-compat-pedantic", + "severity:MEDIUM" + ], "clang-diagnostic-pre-c++2b-compat": [ "doc_url:https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpre-c-2b-compat", "severity:MEDIUM" @@ -3934,6 +4170,30 @@ "doc_url:https://releases.llvm.org/16.0.0/tools/clang/docs/DiagnosticsReference.html#wpre-c-2b-compat-pedantic", "severity:MEDIUM" ], + "clang-diagnostic-pre-c++2c-compat": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c-2c-compat", + "severity:MEDIUM" + ], + "clang-diagnostic-pre-c++2c-compat-pedantic": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c-2c-compat-pedantic", + "severity:MEDIUM" + ], + "clang-diagnostic-pre-c11-compat": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c11-compat", + "severity:MEDIUM" + ], + "clang-diagnostic-pre-c11-compat-pedantic": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c11-compat-pedantic", + "severity:MEDIUM" + ], + "clang-diagnostic-pre-c23-compat": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c23-compat", + "severity:MEDIUM" + ], + "clang-diagnostic-pre-c23-compat-pedantic": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c23-compat-pedantic", + "severity:MEDIUM" + ], "clang-diagnostic-pre-c2x-compat": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpre-c2x-compat", "severity:MEDIUM" @@ -3995,6 +4255,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wpsabi", "severity:MEDIUM" ], + "clang-diagnostic-ptrauth-null-pointers": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wptrauth-null-pointers", + "severity:MEDIUM" + ], "clang-diagnostic-qualified-void-return-type": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wqualified-void-return-type", "severity:MEDIUM" @@ -4120,6 +4384,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wreturn-local-addr", "severity:MEDIUM" ], + "clang-diagnostic-return-mismatch": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wreturn-mismatch", + "severity:HIGH" + ], "clang-diagnostic-return-stack-address": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wreturn-stack-address", "severity:MEDIUM" @@ -4132,7 +4400,7 @@ "clang-diagnostic-return-type": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wreturn-type", "profile:default", - "severity:HIGH" + "severity:MEDIUM" ], "clang-diagnostic-return-type-c-linkage": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wreturn-type-c-linkage", @@ -4145,7 +4413,7 @@ ], "clang-diagnostic-round-trip-cc1-args": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rround-trip-cc1-args", - "severity:MEDIUM" + "severity:LOW" ], "clang-diagnostic-rtti": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wrtti", @@ -4153,7 +4421,7 @@ ], "clang-diagnostic-sanitize-address": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rsanitize-address", - "severity:MEDIUM" + "severity:LOW" ], "clang-diagnostic-sarif-format-unstable": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsarif-format-unstable", @@ -4161,7 +4429,7 @@ ], "clang-diagnostic-search-path-usage": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rsearch-path-usage", - "severity:MEDIUM" + "severity:LOW" ], "clang-diagnostic-section": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsection", @@ -4326,7 +4594,7 @@ ], "clang-diagnostic-sloc-usage": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#rsloc-usage", - "severity:MEDIUM" + "severity:LOW" ], "clang-diagnostic-sometimes-uninitialized": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsometimes-uninitialized", @@ -4337,6 +4605,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsource-mgr", "severity:MEDIUM" ], + "clang-diagnostic-source-uses-openacc": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsource-uses-openacc", + "severity:MEDIUM" + ], "clang-diagnostic-source-uses-openmp": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wsource-uses-openmp", "severity:MEDIUM" @@ -4433,6 +4705,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wstrict-potentially-direct-selector", "severity:MEDIUM" ], + "clang-diagnostic-strict-primary-template-shadow": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wstrict-primary-template-shadow", + "severity:HIGH" + ], "clang-diagnostic-strict-prototypes": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wstrict-prototypes", "severity:MEDIUM" @@ -4553,6 +4829,10 @@ "profile:default", "severity:MEDIUM" ], + "clang-diagnostic-tautological-negation-compare": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wtautological-negation-compare", + "severity:MEDIUM" + ], "clang-diagnostic-tautological-objc-bool-compare": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wtautological-objc-bool-compare", "profile:default", @@ -4597,6 +4877,14 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wtcb-enforcement", "severity:MEDIUM" ], + "clang-diagnostic-template-in-declaration-name": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wtemplate-in-declaration-name", + "severity:MEDIUM" + ], + "clang-diagnostic-tentative-definition-array": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wtentative-definition-array", + "severity:MEDIUM" + ], "clang-diagnostic-tentative-definition-incomplete-type": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wtentative-definition-incomplete-type", "severity:MEDIUM" @@ -4629,6 +4917,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wthread-safety-reference", "severity:MEDIUM" ], + "clang-diagnostic-thread-safety-reference-return": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wthread-safety-reference-return", + "severity:MEDIUM" + ], "clang-diagnostic-thread-safety-verbose": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wthread-safety-verbose", "severity:MEDIUM" @@ -4682,6 +4974,18 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wundef-prefix", "severity:MEDIUM" ], + "clang-diagnostic-undefined-arm-streaming": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wundefined-arm-streaming", + "severity:MEDIUM" + ], + "clang-diagnostic-undefined-arm-za": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wundefined-arm-za", + "severity:MEDIUM" + ], + "clang-diagnostic-undefined-arm-zt0": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wundefined-arm-zt0", + "severity:MEDIUM" + ], "clang-diagnostic-undefined-bool-conversion": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wundefined-bool-conversion", "severity:MEDIUM" @@ -4839,6 +5143,10 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wunsafe-buffer-usage", "severity:MEDIUM" ], + "clang-diagnostic-unsafe-buffer-usage-in-container": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wunsafe-buffer-usage-in-container", + "severity:MEDIUM" + ], "clang-diagnostic-unsequenced": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wunsequenced", "severity:MEDIUM" @@ -5047,10 +5355,18 @@ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wvla", "severity:MEDIUM" ], + "clang-diagnostic-vla-cxx-extension": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wvla-cxx-extension", + "severity:MEDIUM" + ], "clang-diagnostic-vla-extension": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wvla-extension", "severity:MEDIUM" ], + "clang-diagnostic-vla-extension-static-assert": [ + "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wvla-extension-static-assert", + "severity:MEDIUM" + ], "clang-diagnostic-void-pointer-to-enum-cast": [ "doc_url:https://clang.llvm.org/docs/DiagnosticsReference.html#wvoid-pointer-to-enum-cast", "severity:MEDIUM" @@ -6230,6 +6546,9 @@ "profile:sensitive", "severity:LOW" ], + "objc-assert-equals": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/objc/assert-equals.html" + ], "objc-avoid-nserror-init": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/objc/avoid-nserror-init.html" ], @@ -6242,6 +6561,9 @@ "objc-missing-hash": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/objc/missing-hash.html" ], + "objc-nsdate-formatter": [ + "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/objc/nsdate-formatter.html" + ], "objc-nsinvocation-argument-lifetime": [ "doc_url:https://clang.llvm.org/extra/clang-tidy/checks/objc/nsinvocation-argument-lifetime.html" ], diff --git a/config/labels/analyzers/clangsa.json b/config/labels/analyzers/clangsa.json index c941994266..c7721e4f0a 100644 --- a/config/labels/analyzers/clangsa.json +++ b/config/labels/analyzers/clangsa.json @@ -82,6 +82,9 @@ "profile:extreme", "severity:HIGH" ], + "alpha.core.StdVariant": [ + "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-stdvariant-c" + ], "alpha.core.TestAfterDivZero": [ "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-core-testafterdivzero-c", "profile:extreme", @@ -89,7 +92,7 @@ "severity:MEDIUM" ], "alpha.cplusplus.ArrayDelete": [ - "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-cplusplus-arraydelete-c", + "doc_url:https://releases.llvm.org/18.1.1/tools/clang/docs/analyzer/checkers.html#alpha-cplusplus-arraydelete-c", "profile:extreme", "profile:sensitive", "severity:HIGH" @@ -133,6 +136,9 @@ "profile:sensitive", "severity:MEDIUM" ], + "alpha.cplusplus.MisusedMovedObject": [ + "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#alpha-cplusplus-misusedmovedobject-c" + ], "alpha.cplusplus.PlacementNew": [ "profile:extreme", "profile:sensitive", @@ -768,7 +774,7 @@ "profile:extreme" ], "optin.performance.Padding": [ - "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#optin-performance-padding", + "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#optin-performance-padding-c-c-objc", "profile:extreme", "severity:LOW" ], @@ -1075,8 +1081,7 @@ "profile:sensitive" ], "unix.cstring.NullArg": [ - "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-cstring-nullarg", - "guideline:sei-cert", + "doc_url:https://clang.llvm.org/docs/analyzer/checkers.html#unix-cstring-nullarg-c", "profile:default", "profile:extreme", "profile:security", diff --git a/config/labels/analyzers/cppcheck.json b/config/labels/analyzers/cppcheck.json index 297a2dc1e7..ea391198af 100644 --- a/config/labels/analyzers/cppcheck.json +++ b/config/labels/analyzers/cppcheck.json @@ -70,7 +70,7 @@ "severity:MEDIUM" ], "cppcheck-assignmentInCondition": [ - "severity:LOW" + "severity:STYLE" ], "cppcheck-autoVariables": [ "profile:default", @@ -132,7 +132,7 @@ "severity:HIGH" ], "cppcheck-compareValueOutOfTypeRangeError": [ - "severity:LOW" + "severity:STYLE" ], "cppcheck-comparisonError": [ "severity:STYLE" @@ -155,10 +155,16 @@ "severity:STYLE" ], "cppcheck-constParameter": [ - "severity:LOW" + "severity:STYLE" ], "cppcheck-constParameterCallback": [ - "severity:LOW" + "severity:STYLE" + ], + "cppcheck-constParameterPointer": [ + "severity:STYLE" + ], + "cppcheck-constParameterReference": [ + "severity:STYLE" ], "cppcheck-constStatement": [ "profile:default", @@ -167,6 +173,12 @@ "cppcheck-constVariable": [ "severity:STYLE" ], + "cppcheck-constVariablePointer": [ + "severity:STYLE" + ], + "cppcheck-constVariableReference": [ + "severity:STYLE" + ], "cppcheck-containerOutOfBounds": [ "profile:default", "severity:HIGH" @@ -471,6 +483,9 @@ "cppcheck-knownEmptyContainer": [ "severity:STYLE" ], + "cppcheck-knownPointerToBool": [ + "severity:STYLE" + ], "cppcheck-leakNoVarFunctionCall": [ "profile:default", "severity:HIGH" @@ -590,7 +605,7 @@ ], "cppcheck-negativeContainerIndex": [ "profile:default", - "severity:HIGH" + "severity:MEDIUM" ], "cppcheck-negativeIndex": [ "profile:default", @@ -696,6 +711,9 @@ "cppcheck-pointerOutOfBounds": [ "severity:LOW" ], + "cppcheck-pointerOutOfBoundsCond": [ + "severity:LOW" + ], "cppcheck-pointerPositive": [ "severity:STYLE" ], @@ -1164,7 +1182,7 @@ ], "cppcheck-zerodivcond": [ "profile:default", - "severity:HIGH" + "severity:MEDIUM" ] } } diff --git a/config/labels/analyzers/mdl.json b/config/labels/analyzers/mdl.json index f8b8e810c9..0376369c13 100644 --- a/config/labels/analyzers/mdl.json +++ b/config/labels/analyzers/mdl.json @@ -2,155 +2,171 @@ "analyzer": "mdl", "labels": { "MD001": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md001---header-levels-should-only-increment-by-one-level-at-a-time", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md001---header-levels-should-only-increment-by-one-level-at-a-time", "severity:STYLE" ], "MD002": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md002---first-header-should-be-a-top-level-header", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md002---first-header-should-be-a-top-level-header", "severity:STYLE" ], "MD003": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md003---header-style", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md003---header-style", "severity:STYLE" ], "MD004": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md004---unordered-list-style", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md004---unordered-list-style", "severity:STYLE" ], "MD005": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md005---inconsistent-indentation-for-list-items-at-the-same-level", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md005---inconsistent-indentation-for-list-items-at-the-same-level", "severity:STYLE" ], "MD006": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md006---consider-starting-bulleted-lists-at-the-beginning-of-the-line", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md006---consider-starting-bulleted-lists-at-the-beginning-of-the-line", "severity:STYLE" ], "MD007": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md007---unordered-list-indentation", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md007---unordered-list-indentation", "severity:STYLE" ], "MD009": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md009---trailing-spaces", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md009---trailing-spaces", "severity:STYLE" ], "MD010": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md010---hard-tabs", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md010---hard-tabs", "severity:STYLE" ], "MD011": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md011---reversed-link-syntax", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md011---reversed-link-syntax", "severity:STYLE" ], "MD012": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md012---multiple-consecutive-blank-lines", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md012---multiple-consecutive-blank-lines", "severity:STYLE" ], "MD013": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md013---line-length", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md013---line-length", "severity:STYLE" ], "MD014": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md014---dollar-signs-used-before-commands-without-showing-output", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md014---dollar-signs-used-before-commands-without-showing-output", "severity:STYLE" ], "MD018": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md018---no-space-after-hash-on-atx-style-header", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md018---no-space-after-hash-on-atx-style-header", "severity:STYLE" ], "MD019": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md019---multiple-spaces-after-hash-on-atx-style-header", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md019---multiple-spaces-after-hash-on-atx-style-header", "severity:STYLE" ], "MD020": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md020---no-space-inside-hashes-on-closed-atx-style-header", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md020---no-space-inside-hashes-on-closed-atx-style-header", "severity:STYLE" ], "MD021": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md021---multiple-spaces-inside-hashes-on-closed-atx-style-header", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md021---multiple-spaces-inside-hashes-on-closed-atx-style-header", "severity:STYLE" ], "MD022": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md022---headers-should-be-surrounded-by-blank-lines", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md022---headers-should-be-surrounded-by-blank-lines", "severity:STYLE" ], "MD023": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md023---headers-must-start-at-the-beginning-of-the-line", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md023---headers-must-start-at-the-beginning-of-the-line", "severity:STYLE" ], "MD024": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md024---multiple-headers-with-the-same-content", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md024---multiple-headers-with-the-same-content", "severity:STYLE" ], "MD025": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md025---multiple-top-level-headers-in-the-same-document", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md025---multiple-top-level-headers-in-the-same-document", "severity:STYLE" ], "MD026": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md026---trailing-punctuation-in-header", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md026---trailing-punctuation-in-header", "severity:STYLE" ], "MD027": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md027---multiple-spaces-after-blockquote-symbol", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md027---multiple-spaces-after-blockquote-symbol", "severity:STYLE" ], "MD028": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md028---blank-line-inside-blockquote", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md028---blank-line-inside-blockquote", "severity:STYLE" ], "MD029": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md029---ordered-list-item-prefix", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md029---ordered-list-item-prefix", "severity:STYLE" ], "MD030": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md030---spaces-after-list-markers", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md030---spaces-after-list-markers", "severity:STYLE" ], "MD031": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md031---fenced-code-blocks-should-be-surrounded-by-blank-lines", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md031---fenced-code-blocks-should-be-surrounded-by-blank-lines", "severity:STYLE" ], "MD032": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md032---lists-should-be-surrounded-by-blank-lines", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md032---lists-should-be-surrounded-by-blank-lines", "severity:STYLE" ], "MD033": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md033---inline-html", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md033---inline-html", "severity:STYLE" ], "MD034": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md034---bare-url-used", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md034---bare-url-used", "severity:STYLE" ], "MD035": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md035---horizontal-rule-style", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md035---horizontal-rule-style", "severity:STYLE" ], "MD036": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md036---emphasis-used-instead-of-a-header", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md036---emphasis-used-instead-of-a-header", "severity:STYLE" ], "MD037": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md037---spaces-inside-emphasis-markers", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md037---spaces-inside-emphasis-markers", "severity:STYLE" ], "MD038": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md038---spaces-inside-code-span-elements", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md038---spaces-inside-code-span-elements", "severity:STYLE" ], "MD039": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md039---spaces-inside-link-text", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md039---spaces-inside-link-text", "severity:STYLE" ], "MD040": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md040---fenced-code-blocks-should-have-a-language-specified", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md040---fenced-code-blocks-should-have-a-language-specified", "severity:STYLE" ], "MD041": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md041---first-line-in-file-should-be-a-top-level-header", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md041---first-line-in-file-should-be-a-top-level-header", "severity:STYLE" ], "MD046": [ - "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.11.0/docs/RULES.md#md046---code-block-style", + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md046---code-block-style", + "severity:STYLE" + ], + "MD047": [ + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md047---file-should-end-with-a-single-newline-character", + "severity:STYLE" + ], + "MD055": [ + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md055---table-row-doesnt-begin-end-with-pipes", + "severity:STYLE" + ], + "MD056": [ + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md056---table-has-inconsistent-number-of-columns", + "severity:STYLE" + ], + "MD057": [ + "doc_url:https://github.com/markdownlint/markdownlint/blob/v0.13.0/docs/RULES.md#md057---table-has-missing-or-invalid-header-separation", "severity:STYLE" ] } diff --git a/config/labels/analyzers/pylint.json b/config/labels/analyzers/pylint.json index 4c9674d8eb..d7a65f61a2 100644 --- a/config/labels/analyzers/pylint.json +++ b/config/labels/analyzers/pylint.json @@ -796,6 +796,9 @@ "redeclared-assigned-name": [ "severity:MEDIUM" ], + "redefine-in-handler": [ + "severity:MEDIUM" + ], "redefined-argument-from-local": [ "severity:STYLE" ], diff --git a/web/tests/functional/report_viewer_api/test_report_counting.py b/web/tests/functional/report_viewer_api/test_report_counting.py index 4889e83fe3..8625774da0 100644 --- a/web/tests/functional/report_viewer_api/test_report_counting.py +++ b/web/tests/functional/report_viewer_api/test_report_counting.py @@ -90,9 +90,9 @@ def setup_method(self, method): 'deadcode.DeadStores': 6, 'misc-definitions-in-headers': 2} - self.run1_sev_counts = {Severity.MEDIUM: 6, + self.run1_sev_counts = {Severity.MEDIUM: 11, Severity.LOW: 6, - Severity.HIGH: 32} + Severity.HIGH: 27} self.run2_sev_counts = {Severity.MEDIUM: 5, Severity.LOW: 6, diff --git a/web/tests/projects/cpp/project_info.json b/web/tests/projects/cpp/project_info.json index 710ea3c285..311d70e40e 100644 --- a/web/tests/projects/cpp/project_info.json +++ b/web/tests/projects/cpp/project_info.json @@ -49,7 +49,7 @@ { "file": "path_begin.cpp", "line": 12, "checker": "core.DivideZero", "hash": "73e6a2e1091295da065a6527f8540366" }, { "file": "path_begin.cpp", "line": 18, "checker": "core.DivideZero", "hash": "73e6a2e1091295da065a6527f8540366" } ], - "filter_severity_levels": [{"MEDIUM": 6}, {"LOW": 6}, {"HIGH": 32}, {"STYLE": 0}, {"CRITICAL": 0}], + "filter_severity_levels": [{"MEDIUM": 11}, {"LOW": 6}, {"HIGH": 27}, {"STYLE": 0}, {"CRITICAL": 0}], "filter_checker_id": [{"*unix*": 1}, {"core*": 22}, {"*DeadStores": 6}], "filter_analyzer_name": [{"clang-tidy": 10}, {"clangsa": 34}], "filter_filepath": [{"*null*": 5}],