[clang-tools-extra] [clangd] Update TidyFastChecks for release/19.x (PR #106354)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 28 02:35:44 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 22e55ba3293f72df84de509db821b4d8a2c4c55e 38df7489ff2fa15a5bc7fc66d18ef78b489cd9d8 --extensions inc -- clang-tools-extra/clangd/TidyFastChecks.inc
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang-tools-extra/clangd/TidyFastChecks.inc b/clang-tools-extra/clangd/TidyFastChecks.inc
index b1e1bf0517..d992dbb6c1 100644
--- a/clang-tools-extra/clangd/TidyFastChecks.inc
+++ b/clang-tools-extra/clangd/TidyFastChecks.inc
@@ -7,437 +7,436 @@
#define SLOW(CHECK, DELTA)
#endif
-FAST(abseil-cleanup-ctad, -2.0)
+FAST(abseil - cleanup - ctad, -2.0)
FAST(abseil-duration-addition, 0.0)
-FAST(abseil-duration-comparison, -1.0)
-FAST(abseil-duration-conversion-cast, -1.0)
-FAST(abseil-duration-division, 0.0)
-FAST(abseil-duration-factory-float, 2.0)
-FAST(abseil-duration-factory-scale, 1.0)
-FAST(abseil-duration-subtraction, -1.0)
-FAST(abseil-duration-unnecessary-conversion, -0.0)
-FAST(abseil-faster-strsplit-delimiter, 3.0)
-FAST(abseil-no-internal-dependencies, 1.0)
-FAST(abseil-no-namespace, -0.0)
-FAST(abseil-redundant-strcat-calls, 1.0)
-FAST(abseil-str-cat-append, -0.0)
-FAST(abseil-string-find-startswith, -1.0)
-FAST(abseil-string-find-str-contains, 4.0)
-FAST(abseil-time-comparison, -1.0)
-FAST(abseil-time-subtraction, 1.0)
+FAST(abseil - duration - comparison, -1.0)
+FAST(abseil - duration - conversion - cast, -1.0)
+FAST(abseil - duration - division, 0.0)
+FAST(abseil - duration - factory - float, 2.0)
+FAST(abseil - duration - factory - scale, 1.0)
+FAST(abseil - duration - subtraction, -1.0)
+FAST(abseil - duration - unnecessary - conversion, -0.0)
+FAST(abseil - faster - strsplit - delimiter, 3.0)
+FAST(abseil - no - internal - dependencies, 1.0)
+FAST(abseil - no - namespace, -0.0)
+FAST(abseil - redundant - strcat - calls, 1.0)
+FAST(abseil - str - cat - append, -0.0)
+FAST(abseil - string - find - startswith, -1.0)
+FAST(abseil - string - find - str - contains, 4.0)
+FAST(abseil - time - comparison, -1.0)
+FAST(abseil - time - subtraction, 1.0)
FAST(abseil-upgrade-duration-conversions, 2.0)
SLOW(altera-id-dependent-backward-branch, 13.0)
-FAST(altera-kernel-name-restriction, 4.0)
-FAST(altera-single-work-item-barrier, 1.0)
-FAST(altera-struct-pack-align, -0.0)
+FAST(altera - kernel - name - restriction, 4.0)
+FAST(altera - single - work - item - barrier, 1.0)
+FAST(altera - struct - pack - align, -0.0)
FAST(altera-unroll-loops, 2.0)
-FAST(android-cloexec-accept, 0.0)
-FAST(android-cloexec-accept4, 1.0)
-FAST(android-cloexec-creat, 1.0)
-FAST(android-cloexec-dup, 0.0)
-FAST(android-cloexec-epoll-create, 2.0)
-FAST(android-cloexec-epoll-create1, 0.0)
-FAST(android-cloexec-fopen, -1.0)
-FAST(android-cloexec-inotify-init, 2.0)
-FAST(android-cloexec-inotify-init1, -0.0)
-FAST(android-cloexec-memfd-create, -1.0)
-FAST(android-cloexec-open, 1.0)
-FAST(android-cloexec-pipe, -0.0)
+FAST(android - cloexec - accept, 0.0)
+FAST(android - cloexec - accept4, 1.0)
+FAST(android - cloexec - creat, 1.0)
+FAST(android - cloexec - dup, 0.0)
+FAST(android - cloexec - epoll - create, 2.0)
+FAST(android - cloexec - epoll - create1, 0.0)
+FAST(android - cloexec - fopen, -1.0)
+FAST(android - cloexec - inotify - init, 2.0)
+FAST(android - cloexec - inotify - init1, -0.0)
+FAST(android - cloexec - memfd - create, -1.0)
+FAST(android - cloexec - open, 1.0)
+FAST(android - cloexec - pipe, -0.0)
FAST(android-cloexec-pipe2, 0.0)
FAST(android-cloexec-socket, 1.0)
-FAST(android-comparison-in-temp-failure-retry, 1.0)
-FAST(boost-use-ranges, 2.0)
-FAST(boost-use-to-string, 2.0)
-FAST(bugprone-argument-comment, 4.0)
+FAST(android - comparison - in - temp - failure - retry, 1.0)
+FAST(boost - use - ranges, 2.0)
+FAST(boost - use - to - string, 2.0)
+FAST(bugprone - argument - comment, 4.0)
FAST(bugprone-assert-side-effect, 1.0)
-FAST(bugprone-assignment-in-if-condition, 2.0)
-FAST(bugprone-bad-signal-to-kill-thread, 1.0)
+FAST(bugprone - assignment - in - if - condition, 2.0)
+FAST(bugprone - bad - signal - to - kill - thread, 1.0)
FAST(bugprone-bool-pointer-implicit-conversion, 0.0)
-FAST(bugprone-branch-clone, 1.0)
-FAST(bugprone-casting-through-void, 1.0)
-FAST(bugprone-chained-comparison, 1.0)
-FAST(bugprone-compare-pointer-to-member-virtual-function, -0.0)
+FAST(bugprone - branch - clone, 1.0)
+FAST(bugprone - casting - through - void, 1.0)
+FAST(bugprone - chained - comparison, 1.0)
+FAST(bugprone - compare - pointer - to - member - virtual - function, -0.0)
FAST(bugprone-copy-constructor-init, 1.0)
-FAST(bugprone-crtp-constructor-accessibility, 0.0)
-FAST(bugprone-dangling-handle, -0.0)
-FAST(bugprone-dynamic-static-initializers, 0.0)
+FAST(bugprone - crtp - constructor - accessibility, 0.0)
+FAST(bugprone - dangling - handle, -0.0)
+FAST(bugprone - dynamic - static - initializers, 0.0)
FAST(bugprone-easily-swappable-parameters, 2.0)
-FAST(bugprone-empty-catch, 1.0)
-FAST(bugprone-exception-escape, 0.0)
-FAST(bugprone-fold-init-type, 1.0)
+FAST(bugprone - empty - catch, 1.0)
+FAST(bugprone - exception - escape, 0.0)
+FAST(bugprone - fold - init - type, 1.0)
FAST(bugprone-forward-declaration-namespace, 0.0)
-FAST(bugprone-forwarding-reference-overload, -1.0)
-FAST(bugprone-implicit-widening-of-multiplication-result, 2.0)
+FAST(bugprone - forwarding - reference - overload, -1.0)
+FAST(bugprone - implicit - widening - of - multiplication - result, 2.0)
FAST(bugprone-inaccurate-erase, -0.0)
-FAST(bugprone-inc-dec-in-conditions, 3.0)
-FAST(bugprone-incorrect-enable-if, -1.0)
+FAST(bugprone - inc - dec - in - conditions, 3.0)
+FAST(bugprone - incorrect - enable - if, -1.0)
FAST(bugprone-incorrect-roundings, 1.0)
-FAST(bugprone-infinite-loop, 1.0)
-FAST(bugprone-integer-division, -0.0)
-FAST(bugprone-lambda-function-name, 0.0)
-FAST(bugprone-macro-parentheses, 1.0)
+FAST(bugprone - infinite - loop, 1.0)
+FAST(bugprone - integer - division, -0.0)
+FAST(bugprone - lambda - function - name, 0.0)
+FAST(bugprone - macro - parentheses, 1.0)
FAST(bugprone-macro-repeated-side-effects, 1.0)
-FAST(bugprone-misplaced-operator-in-strlen-in-alloc, 0.0)
-FAST(bugprone-misplaced-pointer-arithmetic-in-alloc, -0.0)
-FAST(bugprone-misplaced-widening-cast, -1.0)
-FAST(bugprone-move-forwarding-reference, -1.0)
-FAST(bugprone-multi-level-implicit-pointer-conversion, -1.0)
-FAST(bugprone-multiple-new-in-one-expression, 0.0)
-FAST(bugprone-multiple-statement-macro, 2.0)
-FAST(bugprone-narrowing-conversions, 2.0)
-FAST(bugprone-no-escape, 1.0)
-FAST(bugprone-non-zero-enum-to-bool-conversion, 0.0)
-FAST(bugprone-not-null-terminated-result, 0.0)
-FAST(bugprone-optional-value-conversion, 1.0)
-FAST(bugprone-parent-virtual-call, 1.0)
-FAST(bugprone-pointer-arithmetic-on-polymorphic-object, 0.0)
-FAST(bugprone-posix-return, -0.0)
-FAST(bugprone-redundant-branch-condition, -0.0)
-FAST(bugprone-reserved-identifier, -1.0)
-FAST(bugprone-return-const-ref-from-parameter, -2.0)
+FAST(bugprone - misplaced - operator- in - strlen - in - alloc, 0.0)
+FAST(bugprone - misplaced - pointer - arithmetic - in - alloc, -0.0)
+FAST(bugprone - misplaced - widening - cast, -1.0)
+FAST(bugprone - move - forwarding - reference, -1.0)
+FAST(bugprone - multi - level - implicit - pointer - conversion, -1.0)
+FAST(bugprone - multiple - new - in - one - expression, 0.0)
+FAST(bugprone - multiple - statement - macro, 2.0)
+FAST(bugprone - narrowing - conversions, 2.0)
+FAST(bugprone - no - escape, 1.0)
+FAST(bugprone - non - zero - enum - to - bool - conversion, 0.0)
+FAST(bugprone - not -null - terminated - result, 0.0)
+FAST(bugprone - optional - value - conversion, 1.0)
+FAST(bugprone - parent - virtual - call, 1.0)
+FAST(bugprone - pointer - arithmetic - on - polymorphic - object, 0.0)
+FAST(bugprone - posix - return, -0.0)
+FAST(bugprone - redundant - branch - condition, -0.0)
+FAST(bugprone - reserved - identifier, -1.0)
+FAST(bugprone - return -const - ref - from - parameter, -2.0)
FAST(bugprone-shared-ptr-array-mismatch, 0.0)
-FAST(bugprone-signal-handler, -1.0)
-FAST(bugprone-signed-char-misuse, -2.0)
-FAST(bugprone-sizeof-container, -1.0)
-FAST(bugprone-sizeof-expression, 1.0)
-FAST(bugprone-spuriously-wake-up-functions, 1.0)
-FAST(bugprone-standalone-empty, 7.0)
-FAST(bugprone-string-constructor, 3.0)
-FAST(bugprone-string-integer-assignment, -0.0)
-FAST(bugprone-string-literal-with-embedded-nul, 1.0)
-FAST(bugprone-stringview-nullptr, 4.0)
-FAST(bugprone-suspicious-enum-usage, 2.0)
-FAST(bugprone-suspicious-include, 0.0)
+FAST(bugprone - signal - handler, -1.0)
+FAST(bugprone - signed - char - misuse, -2.0)
+FAST(bugprone - sizeof -container, -1.0)
+FAST(bugprone - sizeof -expression, 1.0)
+FAST(bugprone - spuriously - wake - up - functions, 1.0)
+FAST(bugprone - standalone - empty, 7.0)
+FAST(bugprone - string - constructor, 3.0)
+FAST(bugprone - string - integer - assignment, -0.0)
+FAST(bugprone - string - literal - with - embedded - nul, 1.0)
+FAST(bugprone - stringview - nullptr, 4.0)
+FAST(bugprone - suspicious - enum - usage, 2.0)
+FAST(bugprone - suspicious - include, 0.0)
FAST(bugprone-suspicious-memory-comparison, 0.0)
-FAST(bugprone-suspicious-memset-usage, 0.0)
-FAST(bugprone-suspicious-missing-comma, -2.0)
-FAST(bugprone-suspicious-realloc-usage, -0.0)
-FAST(bugprone-suspicious-semicolon, 6.0)
-FAST(bugprone-suspicious-string-compare, 1.0)
-FAST(bugprone-suspicious-stringview-data-usage, 1.0)
-FAST(bugprone-swapped-arguments, 1.0)
-FAST(bugprone-switch-missing-default-case, 2.0)
-FAST(bugprone-terminating-continue, -1.0)
-FAST(bugprone-throw-keyword-missing, 0.0)
+FAST(bugprone - suspicious - memset - usage, 0.0)
+FAST(bugprone - suspicious - missing - comma, -2.0)
+FAST(bugprone - suspicious - realloc - usage, -0.0)
+FAST(bugprone - suspicious - semicolon, 6.0)
+FAST(bugprone - suspicious - string - compare, 1.0)
+FAST(bugprone - suspicious - stringview - data - usage, 1.0)
+FAST(bugprone - swapped - arguments, 1.0)
+FAST(bugprone - switch - missing - default - case, 2.0)
+FAST(bugprone - terminating - continue, -1.0)
+FAST(bugprone - throw -keyword - missing, 0.0)
FAST(bugprone-too-small-loop-variable, 0.0)
-FAST(bugprone-unchecked-optional-access, 2.0)
+FAST(bugprone - unchecked - optional - access, 2.0)
FAST(bugprone-undefined-memory-manipulation, 1.0)
-FAST(bugprone-undelegated-constructor, 1.0)
-FAST(bugprone-unhandled-exception-at-new, -1.0)
+FAST(bugprone - undelegated - constructor, 1.0)
+FAST(bugprone - unhandled - exception - at - new, -1.0)
FAST(bugprone-unhandled-self-assignment, 0.0)
-FAST(bugprone-unique-ptr-array-mismatch, 0.0)
-FAST(bugprone-unsafe-functions, 1.0)
-FAST(bugprone-unused-local-non-trivial-variable, -1.0)
-FAST(bugprone-unused-raii, 1.0)
-FAST(bugprone-unused-return-value, 4.0)
-FAST(bugprone-use-after-move, 4.0)
+FAST(bugprone - unique - ptr - array - mismatch, 0.0)
+FAST(bugprone - unsafe - functions, 1.0)
+FAST(bugprone - unused - local - non - trivial - variable, -1.0)
+FAST(bugprone - unused - raii, 1.0)
+FAST(bugprone - unused - return -value, 4.0)
+FAST(bugprone - use - after - move, 4.0)
FAST(bugprone-virtual-near-miss, 0.0)
-FAST(cert-con36-c, 1.0)
-FAST(cert-con54-cpp, 2.0)
-FAST(cert-ctr56-cpp, 0.0)
-FAST(cert-dcl03-c, 0.0)
-FAST(cert-dcl16-c, 1.0)
-FAST(cert-dcl37-c, 1.0)
+FAST(cert - con36 - c, 1.0)
+FAST(cert - con54 - cpp, 2.0)
+FAST(cert - ctr56 - cpp, 0.0)
+FAST(cert - dcl03 - c, 0.0)
+FAST(cert - dcl16 - c, 1.0)
+FAST(cert - dcl37 - c, 1.0)
FAST(cert-dcl50-cpp, -1.0)
-FAST(cert-dcl51-cpp, -1.0)
+FAST(cert - dcl51 - cpp, -1.0)
FAST(cert-dcl54-cpp, 0.0)
-FAST(cert-dcl58-cpp, -0.0)
-FAST(cert-dcl59-cpp, 1.0)
-FAST(cert-env33-c, 1.0)
-FAST(cert-err09-cpp, -0.0)
+FAST(cert - dcl58 - cpp, -0.0)
+FAST(cert - dcl59 - cpp, 1.0)
+FAST(cert - env33 - c, 1.0)
+FAST(cert - err09 - cpp, -0.0)
FAST(cert-err33-c, 4.0)
-FAST(cert-err34-c, -1.0)
-FAST(cert-err52-cpp, -1.0)
-FAST(cert-err58-cpp, -0.0)
-FAST(cert-err60-cpp, -0.0)
-FAST(cert-err61-cpp, 2.0)
-FAST(cert-exp42-c, 1.0)
+FAST(cert - err34 - c, -1.0)
+FAST(cert - err52 - cpp, -1.0)
+FAST(cert - err58 - cpp, -0.0)
+FAST(cert - err60 - cpp, -0.0)
+FAST(cert - err61 - cpp, 2.0)
+FAST(cert - exp42 - c, 1.0)
FAST(cert-fio38-c, 1.0)
-FAST(cert-flp30-c, 3.0)
+FAST(cert - flp30 - c, 3.0)
FAST(cert-flp37-c, 1.0)
-FAST(cert-int09-c, -1.0)
+FAST(cert - int09 - c, -1.0)
FAST(cert-mem57-cpp, 0.0)
-FAST(cert-msc24-c, 0.0)
-FAST(cert-msc30-c, 0.0)
-FAST(cert-msc32-c, -0.0)
-FAST(cert-msc33-c, 2.0)
-FAST(cert-msc50-cpp, -0.0)
-FAST(cert-msc51-cpp, 2.0)
-FAST(cert-msc54-cpp, -0.0)
-FAST(cert-oop11-cpp, -0.0)
-FAST(cert-oop54-cpp, 2.0)
-FAST(cert-oop57-cpp, -0.0)
+FAST(cert - msc24 - c, 0.0)
+FAST(cert - msc30 - c, 0.0)
+FAST(cert - msc32 - c, -0.0)
+FAST(cert - msc33 - c, 2.0)
+FAST(cert - msc50 - cpp, -0.0)
+FAST(cert - msc51 - cpp, 2.0)
+FAST(cert - msc54 - cpp, -0.0)
+FAST(cert - oop11 - cpp, -0.0)
+FAST(cert - oop54 - cpp, 2.0)
+FAST(cert - oop57 - cpp, -0.0)
FAST(cert-oop58-cpp, 0.0)
-FAST(cert-pos44-c, 2.0)
-FAST(cert-pos47-c, 0.0)
-FAST(cert-sig30-c, 1.0)
-FAST(cert-str34-c, 2.0)
+FAST(cert - pos44 - c, 2.0)
+FAST(cert - pos47 - c, 0.0)
+FAST(cert - sig30 - c, 1.0)
+FAST(cert - str34 - c, 2.0)
FAST(concurrency-mt-unsafe, 3.0)
FAST(concurrency-thread-canceltype-asynchronous, 1.0)
-FAST(cppcoreguidelines-avoid-c-arrays, 0.0)
-FAST(cppcoreguidelines-avoid-capturing-lambda-coroutines, -1.0)
-FAST(cppcoreguidelines-avoid-const-or-ref-data-members, -2.0)
-FAST(cppcoreguidelines-avoid-do-while, -1.0)
-FAST(cppcoreguidelines-avoid-goto, -1.0)
-FAST(cppcoreguidelines-avoid-magic-numbers, -2.0)
+FAST(cppcoreguidelines - avoid - c - arrays, 0.0)
+FAST(cppcoreguidelines - avoid - capturing - lambda - coroutines, -1.0)
+FAST(cppcoreguidelines - avoid - const - or -ref - data - members, -2.0)
+FAST(cppcoreguidelines - avoid - do - while, -1.0)
+FAST(cppcoreguidelines - avoid - goto, -1.0)
+FAST(cppcoreguidelines - avoid - magic - numbers, -2.0)
FAST(cppcoreguidelines-avoid-non-const-global-variables, -0.0)
-FAST(cppcoreguidelines-avoid-reference-coroutine-parameters, -0.0)
+FAST(cppcoreguidelines - avoid - reference - coroutine - parameters, -0.0)
FAST(cppcoreguidelines-c-copy-assignment-signature, 1.0)
-FAST(cppcoreguidelines-explicit-virtual-functions, 0.0)
-FAST(cppcoreguidelines-init-variables, 1.0)
-FAST(cppcoreguidelines-interfaces-global-init, 1.0)
-FAST(cppcoreguidelines-macro-to-enum, 0.0)
-FAST(cppcoreguidelines-macro-usage, -0.0)
-FAST(cppcoreguidelines-misleading-capture-default-by-value, -1.0)
-FAST(cppcoreguidelines-missing-std-forward, 0.0)
-FAST(cppcoreguidelines-narrowing-conversions, 2.0)
+FAST(cppcoreguidelines - explicit - virtual - functions, 0.0)
+FAST(cppcoreguidelines - init - variables, 1.0)
+FAST(cppcoreguidelines - interfaces - global - init, 1.0)
+FAST(cppcoreguidelines - macro - to - enum, 0.0)
+FAST(cppcoreguidelines - macro - usage, -0.0)
+FAST(cppcoreguidelines - misleading - capture - default - by - value, -1.0)
+FAST(cppcoreguidelines - missing - std - forward, 0.0)
+FAST(cppcoreguidelines - narrowing - conversions, 2.0)
FAST(cppcoreguidelines-no-malloc, -1.0)
-FAST(cppcoreguidelines-no-suspend-with-lock, 1.0)
-FAST(cppcoreguidelines-noexcept-destructor, -0.0)
-FAST(cppcoreguidelines-noexcept-move-operations, 2.0)
-FAST(cppcoreguidelines-noexcept-swap, -2.0)
-FAST(cppcoreguidelines-non-private-member-variables-in-classes, 1.0)
+FAST(cppcoreguidelines - no - suspend - with - lock, 1.0)
+FAST(cppcoreguidelines - noexcept - destructor, -0.0)
+FAST(cppcoreguidelines - noexcept - move - operations, 2.0)
+FAST(cppcoreguidelines - noexcept - swap, -2.0)
+FAST(cppcoreguidelines - non - private - member - variables - in - classes, 1.0)
FAST(cppcoreguidelines-owning-memory, 3.0)
-FAST(cppcoreguidelines-prefer-member-initializer, 2.0)
-FAST(cppcoreguidelines-pro-bounds-array-to-pointer-decay, 2.0)
-FAST(cppcoreguidelines-pro-bounds-constant-array-index, 1.0)
+FAST(cppcoreguidelines - prefer - member - initializer, 2.0)
+FAST(cppcoreguidelines - pro - bounds - array - to - pointer - decay, 2.0)
+FAST(cppcoreguidelines - pro - bounds - constant - array - index, 1.0)
FAST(cppcoreguidelines-pro-bounds-pointer-arithmetic, 0.0)
-FAST(cppcoreguidelines-pro-type-const-cast, -1.0)
-FAST(cppcoreguidelines-pro-type-cstyle-cast, 2.0)
+FAST(cppcoreguidelines - pro - type - const - cast, -1.0)
+FAST(cppcoreguidelines - pro - type - cstyle - cast, 2.0)
FAST(cppcoreguidelines-pro-type-member-init, 1.0)
-FAST(cppcoreguidelines-pro-type-reinterpret-cast, -1.0)
+FAST(cppcoreguidelines - pro - type - reinterpret - cast, -1.0)
FAST(cppcoreguidelines-pro-type-static-cast-downcast, 0.0)
-FAST(cppcoreguidelines-pro-type-union-access, 0.0)
-FAST(cppcoreguidelines-pro-type-vararg, -1.0)
-FAST(cppcoreguidelines-rvalue-reference-param-not-moved, 1.0)
-FAST(cppcoreguidelines-slicing, 1.0)
+FAST(cppcoreguidelines - pro - type - union - access, 0.0)
+FAST(cppcoreguidelines - pro - type - vararg, -1.0)
+FAST(cppcoreguidelines - rvalue - reference - param - not -moved, 1.0)
+FAST(cppcoreguidelines - slicing, 1.0)
FAST(cppcoreguidelines-special-member-functions, -1.0)
-FAST(cppcoreguidelines-use-default-member-init, 0.0)
-FAST(cppcoreguidelines-virtual-class-destructor, -0.0)
-FAST(darwin-avoid-spinlock, 2.0)
-FAST(darwin-dispatch-once-nonstatic, 0.0)
-FAST(fuchsia-default-arguments-calls, 1.0)
+FAST(cppcoreguidelines - use - default - member - init, 0.0)
+FAST(cppcoreguidelines - virtual - class - destructor, -0.0)
+FAST(darwin - avoid - spinlock, 2.0)
+FAST(darwin - dispatch - once - nonstatic, 0.0)
+FAST(fuchsia - default - arguments - calls, 1.0)
FAST(fuchsia-default-arguments-declarations, -0.0)
FAST(fuchsia-header-anon-namespaces, -0.0)
-FAST(fuchsia-multiple-inheritance, 0.0)
-FAST(fuchsia-overloaded-operator, 4.0)
+FAST(fuchsia - multiple - inheritance, 0.0)
+FAST(fuchsia - overloaded - operator, 4.0)
FAST(fuchsia-statically-constructed-objects, -0.0)
-FAST(fuchsia-trailing-return, 1.0)
+FAST(fuchsia - trailing - return, 1.0)
FAST(fuchsia-virtual-inheritance, 1.0)
-FAST(google-build-explicit-make-pair, 3.0)
+FAST(google - build - explicit - make - pair, 3.0)
FAST(google-build-namespaces, -1.0)
-FAST(google-build-using-namespace, -0.0)
-FAST(google-default-arguments, 0.0)
+FAST(google - build - using - namespace, -0.0)
+FAST(google - default - arguments, 0.0)
FAST(google-explicit-constructor, 2.0)
-FAST(google-global-names-in-headers, 0.0)
+FAST(google - global - names - in - headers, 0.0)
FAST(google-objc-avoid-nsobject-new, 1.0)
-FAST(google-objc-avoid-throwing-exception, -0.0)
-FAST(google-objc-function-naming, -1.0)
-FAST(google-objc-global-variable-declaration, 0.0)
-FAST(google-readability-avoid-underscore-in-googletest-name, 1.0)
-FAST(google-readability-braces-around-statements, 0.0)
-FAST(google-readability-casting, -0.0)
-FAST(google-readability-function-size, 3.0)
-FAST(google-readability-namespace-comments, -0.0)
+FAST(google - objc - avoid - throwing - exception, -0.0)
+FAST(google - objc - function - naming, -1.0)
+FAST(google - objc - global - variable - declaration, 0.0)
+FAST(google - readability - avoid - underscore - in - googletest - name, 1.0)
+FAST(google - readability - braces - around - statements, 0.0)
+FAST(google - readability - casting, -0.0)
+FAST(google - readability - function - size, 3.0)
+FAST(google - readability - namespace - comments, -0.0)
FAST(google-readability-todo, 1.0)
-FAST(google-runtime-int, 0.0)
-FAST(google-runtime-operator, 0.0)
-FAST(google-upgrade-googletest-case, 1.0)
+FAST(google - runtime - int, 0.0)
+FAST(google - runtime - operator, 0.0)
+FAST(google - upgrade - googletest - case, 1.0)
FAST(hicpp-avoid-c-arrays, 1.0)
-FAST(hicpp-avoid-goto, -0.0)
-FAST(hicpp-braces-around-statements, 0.0)
-FAST(hicpp-deprecated-headers, 1.0)
-FAST(hicpp-exception-baseclass, -1.0)
-FAST(hicpp-explicit-conversions, 1.0)
+FAST(hicpp - avoid - goto, -0.0)
+FAST(hicpp - braces - around - statements, 0.0)
+FAST(hicpp - deprecated - headers, 1.0)
+FAST(hicpp - exception - baseclass, -1.0)
+FAST(hicpp - explicit - conversions, 1.0)
FAST(hicpp-function-size, 1.0)
-FAST(hicpp-ignored-remove-result, 3.0)
-FAST(hicpp-invalid-access-moved, 4.0)
+FAST(hicpp - ignored - remove - result, 3.0)
+FAST(hicpp - invalid - access - moved, 4.0)
FAST(hicpp-member-init, 2.0)
-FAST(hicpp-move-const-arg, 3.0)
-FAST(hicpp-multiway-paths-covered, 0.0)
-FAST(hicpp-named-parameter, 2.0)
-FAST(hicpp-new-delete-operators, -0.0)
-FAST(hicpp-no-array-decay, 4.0)
-FAST(hicpp-no-assembler, 1.0)
-FAST(hicpp-no-malloc, 2.0)
+FAST(hicpp - move - const - arg, 3.0)
+FAST(hicpp - multiway - paths - covered, 0.0)
+FAST(hicpp - named - parameter, 2.0)
+FAST(hicpp - new - delete -operators, -0.0)
+FAST(hicpp - no - array - decay, 4.0)
+FAST(hicpp - no - assembler, 1.0)
+FAST(hicpp - no - malloc, 2.0)
FAST(hicpp-noexcept-move, -0.0)
-FAST(hicpp-signed-bitwise, -1.0)
-FAST(hicpp-special-member-functions, -2.0)
-FAST(hicpp-static-assert, 4.0)
-FAST(hicpp-undelegated-constructor, 6.0)
-FAST(hicpp-uppercase-literal-suffix, 5.0)
-FAST(hicpp-use-auto, 0.0)
-FAST(hicpp-use-emplace, 3.0)
-FAST(hicpp-use-equals-default, 2.0)
-FAST(hicpp-use-equals-delete, 1.0)
-FAST(hicpp-use-noexcept, -0.0)
-FAST(hicpp-use-nullptr, 1.0)
-FAST(hicpp-use-override, -1.0)
-FAST(hicpp-vararg, 0.0)
-FAST(linuxkernel-must-check-errs, -0.0)
-FAST(llvm-else-after-return, -1.0)
-FAST(llvm-header-guard, 3.0)
-FAST(llvm-include-order, 0.0)
-FAST(llvm-namespace-comment, 0.0)
-FAST(llvm-prefer-isa-or-dyn-cast-in-conditionals, 3.0)
-FAST(llvm-prefer-register-over-unsigned, -0.0)
-FAST(llvm-qualified-auto, 4.0)
-FAST(llvm-twine-local, -0.0)
-FAST(llvmlibc-callee-namespace, -0.0)
-FAST(llvmlibc-implementation-in-namespace, 1.0)
-FAST(llvmlibc-inline-function-decl, 3.0)
-FAST(llvmlibc-restrict-system-libc-headers, 0.0)
-FAST(misc-confusable-identifiers, -1.0)
-SLOW(misc-const-correctness, 67.0)
-FAST(misc-coroutine-hostile-raii, 1.0)
+FAST(hicpp - signed - bitwise, -1.0)
+FAST(hicpp - special - member - functions, -2.0)
+FAST(hicpp - static - assert, 4.0)
+FAST(hicpp - undelegated - constructor, 6.0)
+FAST(hicpp - uppercase - literal - suffix, 5.0)
+FAST(hicpp - use - auto, 0.0)
+FAST(hicpp - use - emplace, 3.0)
+FAST(hicpp - use - equals - default, 2.0)
+FAST(hicpp - use - equals - delete, 1.0)
+FAST(hicpp - use - noexcept, -0.0)
+FAST(hicpp - use - nullptr, 1.0)
+FAST(hicpp - use - override, -1.0)
+FAST(hicpp - vararg, 0.0)
+FAST(linuxkernel - must - check - errs, -0.0)
+FAST(llvm - else - after - return, -1.0)
+FAST(llvm - header - guard, 3.0)
+FAST(llvm - include - order, 0.0)
+FAST(llvm - namespace - comment, 0.0)
+FAST(llvm - prefer - isa - or -dyn - cast - in - conditionals, 3.0)
+FAST(llvm - prefer - register - over - unsigned, -0.0)
+FAST(llvm - qualified - auto, 4.0)
+FAST(llvm - twine - local, -0.0)
+FAST(llvmlibc - callee - namespace, -0.0)
+FAST(llvmlibc - implementation - in - namespace, 1.0)
+FAST(llvmlibc - inline - function - decl, 3.0)
+FAST(llvmlibc - restrict - system - libc - headers, 0.0)
+FAST(misc - confusable - identifiers, -1.0)
+SLOW(misc - const - correctness, 67.0)
+FAST(misc - coroutine - hostile - raii, 1.0)
FAST(misc-definitions-in-headers, -1.0)
-SLOW(misc-header-include-cycle, 10.0)
-FAST(misc-include-cleaner, 5.0)
-FAST(misc-misleading-bidirectional, 1.0)
-FAST(misc-misleading-identifier, 3.0)
-FAST(misc-misplaced-const, -2.0)
-FAST(misc-new-delete-overloads, 1.0)
-FAST(misc-no-recursion, 0.0)
-FAST(misc-non-copyable-objects, 0.0)
-FAST(misc-non-private-member-variables-in-classes, -1.0)
-FAST(misc-redundant-expression, 1.0)
-FAST(misc-static-assert, 3.0)
-FAST(misc-throw-by-value-catch-by-reference, -0.0)
+SLOW(misc - header - include - cycle, 10.0)
+FAST(misc - include - cleaner, 5.0)
+FAST(misc - misleading - bidirectional, 1.0)
+FAST(misc - misleading - identifier, 3.0)
+FAST(misc - misplaced - const, -2.0)
+FAST(misc - new - delete -overloads, 1.0)
+FAST(misc - no - recursion, 0.0)
+FAST(misc - non - copyable - objects, 0.0)
+FAST(misc - non - private - member - variables - in - classes, -1.0)
+FAST(misc - redundant - expression, 1.0)
+FAST(misc - static - assert, 3.0)
+FAST(misc - throw -by - value - catch - by - reference, -0.0)
FAST(misc-unconventional-assign-operator, 1.0)
-FAST(misc-uniqueptr-reset-release, 2.0)
-FAST(misc-unused-alias-decls, 2.0)
-FAST(misc-unused-parameters, 3.0)
-FAST(misc-unused-using-decls, 1.0)
-FAST(misc-use-anonymous-namespace, 1.0)
-FAST(misc-use-internal-linkage, 1.0)
+FAST(misc - uniqueptr - reset - release, 2.0)
+FAST(misc - unused - alias - decls, 2.0)
+FAST(misc - unused - parameters, 3.0)
+FAST(misc - unused - using - decls, 1.0)
+FAST(misc - use - anonymous - namespace, 1.0)
+FAST(misc - use - internal - linkage, 1.0)
FAST(modernize-avoid-bind, 1.0)
FAST(modernize-avoid-c-arrays, 2.0)
-FAST(modernize-concat-nested-namespaces, -0.0)
-FAST(modernize-deprecated-headers, 0.0)
-FAST(modernize-deprecated-ios-base-aliases, 0.0)
+FAST(modernize - concat - nested - namespaces, -0.0)
+FAST(modernize - deprecated - headers, 0.0)
+FAST(modernize - deprecated - ios - base - aliases, 0.0)
FAST(modernize-loop-convert, 2.0)
-FAST(modernize-macro-to-enum, 0.0)
-FAST(modernize-make-shared, 2.0)
-FAST(modernize-make-unique, 1.0)
-FAST(modernize-min-max-use-initializer-list, 1.0)
-FAST(modernize-pass-by-value, 0.0)
-FAST(modernize-raw-string-literal, 2.0)
-FAST(modernize-redundant-void-arg, 1.0)
-FAST(modernize-replace-auto-ptr, 0.0)
-FAST(modernize-replace-disallow-copy-and-assign-macro, -0.0)
-FAST(modernize-replace-random-shuffle, 1.0)
-FAST(modernize-return-braced-init-list, 1.0)
-FAST(modernize-shrink-to-fit, 1.0)
-FAST(modernize-type-traits, 1.0)
-FAST(modernize-unary-static-assert, 1.0)
-FAST(modernize-use-auto, 0.0)
+FAST(modernize - macro - to - enum, 0.0)
+FAST(modernize - make - shared, 2.0)
+FAST(modernize - make - unique, 1.0)
+FAST(modernize - min - max - use - initializer - list, 1.0)
+FAST(modernize - pass - by - value, 0.0)
+FAST(modernize - raw - string - literal, 2.0)
+FAST(modernize - redundant - void - arg, 1.0)
+FAST(modernize - replace - auto - ptr, 0.0)
+FAST(modernize - replace - disallow - copy - and-assign - macro, -0.0)
+FAST(modernize - replace - random - shuffle, 1.0)
+FAST(modernize - return -braced - init - list, 1.0)
+FAST(modernize - shrink - to - fit, 1.0)
+FAST(modernize - type - traits, 1.0)
+FAST(modernize - unary - static - assert, 1.0)
+FAST(modernize - use - auto, 0.0)
FAST(modernize-use-bool-literals, 1.0)
-FAST(modernize-use-constraints, 1.0)
-FAST(modernize-use-default-member-init, -0.0)
-FAST(modernize-use-designated-initializers, 1.0)
-FAST(modernize-use-emplace, 2.0)
-FAST(modernize-use-equals-default, 1.0)
-FAST(modernize-use-equals-delete, 2.0)
-FAST(modernize-use-nodiscard, -2.0)
-FAST(modernize-use-noexcept, -2.0)
-FAST(modernize-use-nullptr, 1.0)
-FAST(modernize-use-override, 0.0)
-FAST(modernize-use-ranges, 0.0)
-FAST(modernize-use-starts-ends-with, 0.0)
-FAST(modernize-use-std-format, -1.0)
-FAST(modernize-use-std-numbers, 0.0)
-FAST(modernize-use-std-print, -0.0)
-FAST(modernize-use-trailing-return-type, 3.0)
-FAST(modernize-use-transparent-functors, 0.0)
-FAST(modernize-use-uncaught-exceptions, 0.0)
+FAST(modernize - use - constraints, 1.0)
+FAST(modernize - use - default - member - init, -0.0)
+FAST(modernize - use - designated - initializers, 1.0)
+FAST(modernize - use - emplace, 2.0)
+FAST(modernize - use - equals - default, 1.0)
+FAST(modernize - use - equals - delete, 2.0)
+FAST(modernize - use - nodiscard, -2.0)
+FAST(modernize - use - noexcept, -2.0)
+FAST(modernize - use - nullptr, 1.0)
+FAST(modernize - use - override, 0.0)
+FAST(modernize - use - ranges, 0.0)
+FAST(modernize - use - starts - ends - with, 0.0)
+FAST(modernize - use - std - format, -1.0)
+FAST(modernize - use - std - numbers, 0.0)
+FAST(modernize - use - std - print, -0.0)
+FAST(modernize - use - trailing - return -type, 3.0)
+FAST(modernize - use - transparent - functors, 0.0)
+FAST(modernize - use - uncaught - exceptions, 0.0)
FAST(modernize-use-using, 1.0)
-FAST(objc-assert-equals, 1.0)
-FAST(objc-avoid-nserror-init, -0.0)
-FAST(objc-dealloc-in-category, 0.0)
-FAST(objc-forbidden-subclassing, 2.0)
-FAST(objc-missing-hash, -0.0)
-FAST(objc-nsdate-formatter, 0.0)
-FAST(objc-nsinvocation-argument-lifetime, 0.0)
-FAST(objc-property-declaration, -0.0)
-FAST(objc-super-self, -2.0)
-FAST(openmp-exception-escape, -1.0)
-FAST(openmp-use-default-none, 2.0)
-FAST(performance-avoid-endl, 2.0)
-FAST(performance-enum-size, -1.0)
-FAST(performance-faster-string-find, 1.0)
+FAST(objc - assert - equals, 1.0)
+FAST(objc - avoid - nserror - init, -0.0)
+FAST(objc - dealloc - in - category, 0.0)
+FAST(objc - forbidden - subclassing, 2.0)
+FAST(objc - missing - hash, -0.0)
+FAST(objc - nsdate - formatter, 0.0)
+FAST(objc - nsinvocation - argument - lifetime, 0.0)
+FAST(objc - property - declaration, -0.0)
+FAST(objc - super - self, -2.0)
+FAST(openmp - exception - escape, -1.0)
+FAST(openmp - use - default - none, 2.0)
+FAST(performance - avoid - endl, 2.0)
+FAST(performance - enum - size, -1.0)
+FAST(performance - faster - string - find, 1.0)
FAST(performance-for-range-copy, 1.0)
-FAST(performance-implicit-conversion-in-loop, 0.0)
-FAST(performance-inefficient-algorithm, 1.0)
-FAST(performance-inefficient-string-concatenation, 1.0)
-FAST(performance-inefficient-vector-operation, -0.0)
-FAST(performance-move-const-arg, 2.0)
-FAST(performance-move-constructor-init, 2.0)
-FAST(performance-no-automatic-move, 2.0)
-FAST(performance-no-int-to-ptr, 0.0)
-FAST(performance-noexcept-destructor, -2.0)
+FAST(performance - implicit - conversion - in - loop, 0.0)
+FAST(performance - inefficient - algorithm, 1.0)
+FAST(performance - inefficient - string - concatenation, 1.0)
+FAST(performance - inefficient - vector - operation, -0.0)
+FAST(performance - move - const - arg, 2.0)
+FAST(performance - move - constructor - init, 2.0)
+FAST(performance - no - automatic - move, 2.0)
+FAST(performance - no - int - to - ptr, 0.0)
+FAST(performance - noexcept - destructor, -2.0)
FAST(performance-noexcept-move-constructor, 1.0)
-FAST(performance-noexcept-swap, -2.0)
-FAST(performance-trivially-destructible, 3.0)
-FAST(performance-type-promotion-in-math-fn, 2.0)
-FAST(performance-unnecessary-copy-initialization, 2.0)
+FAST(performance - noexcept - swap, -2.0)
+FAST(performance - trivially - destructible, 3.0)
+FAST(performance - type - promotion - in - math - fn, 2.0)
+FAST(performance - unnecessary - copy - initialization, 2.0)
FAST(performance-unnecessary-value-param, 2.0)
-FAST(portability-restrict-system-includes, 1.0)
-FAST(portability-simd-intrinsics, 1.0)
-FAST(portability-std-allocator-const, 3.0)
+FAST(portability - restrict - system - includes, 1.0)
+FAST(portability - simd - intrinsics, 1.0)
+FAST(portability - std - allocator - const, 3.0)
FAST(readability-avoid-const-params-in-decls, -0.0)
-FAST(readability-avoid-nested-conditional-operator, -1.0)
-FAST(readability-avoid-return-with-void-value, 0.0)
-FAST(readability-avoid-unconditional-preprocessor-if, -1.0)
-FAST(readability-braces-around-statements, 1.0)
-FAST(readability-const-return-type, -1.0)
-FAST(readability-container-contains, 3.0)
-FAST(readability-container-data-pointer, -1.0)
-SLOW(readability-container-size-empty, 13.0)
-FAST(readability-convert-member-functions-to-static, 4.0)
-FAST(readability-delete-null-pointer, -1.0)
-FAST(readability-duplicate-include, 2.0)
-FAST(readability-else-after-return, 0.0)
-FAST(readability-enum-initial-value, 0.0)
+FAST(readability - avoid - nested - conditional - operator, - 1.0)
+FAST(readability - avoid - return -with - void - value, 0.0)
+FAST(readability - avoid - unconditional - preprocessor - if, -1.0)
+FAST(readability - braces - around - statements, 1.0)
+FAST(readability - const - return -type, -1.0)
+FAST(readability - container - contains, 3.0)
+FAST(readability - container - data - pointer, -1.0)
+SLOW(readability - container - size - empty, 13.0)
+FAST(readability - convert - member - functions - to - static, 4.0)
+FAST(readability - delete -null - pointer, -1.0)
+FAST(readability - duplicate - include, 2.0)
+FAST(readability - else - after - return, 0.0)
+FAST(readability - enum - initial - value, 0.0)
FAST(readability-function-cognitive-complexity, 0.0)
-FAST(readability-function-size, 0.0)
-FAST(readability-identifier-length, 2.0)
-FAST(readability-identifier-naming, 1.0)
-FAST(readability-implicit-bool-conversion, 3.0)
-FAST(readability-inconsistent-declaration-parameter-name, -0.0)
-FAST(readability-isolate-declaration, 0.0)
-FAST(readability-magic-numbers, 4.0)
-FAST(readability-make-member-function-const, 1.0)
-FAST(readability-math-missing-parentheses, 1.0)
-FAST(readability-misleading-indentation, 1.0)
-FAST(readability-misplaced-array-index, 0.0)
+FAST(readability - function - size, 0.0)
+FAST(readability - identifier - length, 2.0)
+FAST(readability - identifier - naming, 1.0)
+FAST(readability - implicit - bool - conversion, 3.0)
+FAST(readability - inconsistent - declaration - parameter - name, -0.0)
+FAST(readability - isolate - declaration, 0.0)
+FAST(readability - magic - numbers, 4.0)
+FAST(readability - make - member - function - const, 1.0)
+FAST(readability - math - missing - parentheses, 1.0)
+FAST(readability - misleading - indentation, 1.0)
+FAST(readability - misplaced - array - index, 0.0)
FAST(readability-named-parameter, -0.0)
-FAST(readability-non-const-parameter, 2.0)
-FAST(readability-operators-representation, 0.0)
-FAST(readability-qualified-auto, 0.0)
-FAST(readability-redundant-access-specifiers, 1.0)
-FAST(readability-redundant-casting, -0.0)
-FAST(readability-redundant-control-flow, 1.0)
-FAST(readability-redundant-declaration, 1.0)
-FAST(readability-redundant-function-ptr-dereference, 0.0)
-FAST(readability-redundant-inline-specifier, 0.0)
-FAST(readability-redundant-member-init, 1.0)
-FAST(readability-redundant-preprocessor, -0.0)
-FAST(readability-redundant-smartptr-get, 4.0)
-FAST(readability-redundant-string-cstr, 1.0)
-FAST(readability-redundant-string-init, -0.0)
-FAST(readability-reference-to-constructed-temporary, 3.0)
-FAST(readability-simplify-boolean-expr, -0.0)
-FAST(readability-simplify-subscript-expr, 1.0)
-FAST(readability-static-accessed-through-instance, 0.0)
-FAST(readability-static-definition-in-anonymous-namespace, 0.0)
+FAST(readability - non - const - parameter, 2.0)
+FAST(readability - operators - representation, 0.0)
+FAST(readability - qualified - auto, 0.0)
+FAST(readability - redundant - access - specifiers, 1.0)
+FAST(readability - redundant - casting, -0.0)
+FAST(readability - redundant - control - flow, 1.0)
+FAST(readability - redundant - declaration, 1.0)
+FAST(readability - redundant - function - ptr - dereference, 0.0)
+FAST(readability - redundant - inline - specifier, 0.0)
+FAST(readability - redundant - member - init, 1.0)
+FAST(readability - redundant - preprocessor, -0.0)
+FAST(readability - redundant - smartptr - get, 4.0)
+FAST(readability - redundant - string - cstr, 1.0)
+FAST(readability - redundant - string - init, -0.0)
+FAST(readability - reference - to - constructed - temporary, 3.0)
+FAST(readability - simplify - boolean - expr, -0.0)
+FAST(readability - simplify - subscript - expr, 1.0)
+FAST(readability - static - accessed - through - instance, 0.0)
+FAST(readability - static - definition - in - anonymous - namespace, 0.0)
FAST(readability-string-compare, -0.0)
-FAST(readability-suspicious-call-argument, -1.0)
-FAST(readability-uniqueptr-delete-release, 3.0)
-FAST(readability-uppercase-literal-suffix, 0.0)
-FAST(readability-use-anyofallof, 2.0)
-FAST(readability-use-std-min-max, -1.0)
+FAST(readability - suspicious - call - argument, -1.0)
+FAST(readability - uniqueptr - delete -release, 3.0)
+FAST(readability - uppercase - literal - suffix, 0.0)
+FAST(readability - use - anyofallof, 2.0)
+FAST(readability - use - std - min - max, -1.0)
FAST(zircon-temporary-objects, 1.0)
#undef FAST
#undef SLOW
-
``````````
</details>
https://github.com/llvm/llvm-project/pull/106354
More information about the cfe-commits
mailing list