llvm-project/clang-tools-extra/test/clang-tidy/checkers
Jens Massberg bff7faea20 [clang-tidy] Add options to describe individual core increments to readability-function-cognitive-complexity check.
Often you are only interested in the overall cognitive complexity of a
function and not every individual increment. Thus the flag
'DescribeBasicIncrements' is added. If it is set to 'true', each increment
is flagged. Otherwise, only the complexity of function with complexity
of at least the threshold are flagged.

By default 'DescribeBasisIncrements' is set to 'true', which is the original behavior of the check.

Added a new test for different flag combinations.

(The option to ignore macros which was original part of this patch will be added in another path)

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D96281
2021-03-04 21:02:27 +01:00
..
Inputs [clang-tidy] Extending bugprone-signal-handler with POSIX functions. 2021-02-23 14:48:00 +01:00
abseil-duration-addition.cpp
abseil-duration-comparison.cpp
abseil-duration-conversion-cast.cpp
abseil-duration-division.cpp
abseil-duration-factory-float.cpp
abseil-duration-factory-scale.cpp
abseil-duration-subtraction.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
abseil-duration-unnecessary-conversion.cpp [clang-tidy] Update Abseil Duration Conversion check to find more cases. 2020-03-13 12:52:37 -04:00
abseil-faster-strsplit-delimiter.cpp [clang-tidy] Remove some test c++ mode restrictions. 2021-02-26 19:09:28 +00:00
abseil-no-internal-dependencies.cpp [clang-tidy] Fix check for Abseil internal namespace access 2020-01-21 15:21:53 -05:00
abseil-no-namespace.cpp
abseil-redundant-strcat-calls.cpp [clang-tidy] Fix an abseil-redundant-strcat-calls crash on 0-parameter StrCat(). 2020-11-17 11:05:24 +01:00
abseil-str-cat-append.cpp
abseil-string-find-startswith.cpp
abseil-string-find-str-contains.cpp [clang-tidy] Recognize single character needles for absl::StrContains. 2020-12-08 10:01:30 -05:00
abseil-time-comparison.cpp
abseil-time-subtraction.cpp [clang-tidy] Remove some test c++ mode restrictions. 2021-02-26 19:09:28 +00:00
abseil-upgrade-duration-conversions.cpp [clang-tidy] Remove some test c++ mode restrictions. 2021-02-26 19:09:28 +00:00
altera-kernel-name-restriction.cpp Add a new altera kernel name restriction check to clang-tidy. 2020-11-09 09:26:50 -05:00
altera-single-work-item-barrier.cpp new altera single work item barrier check 2020-12-18 07:52:20 -05:00
altera-struct-pack-align.cpp Add a new altera check for structure packing and alignment. 2020-09-08 09:35:14 -04:00
android-cloexec-accept.cpp
android-cloexec-accept4.cpp
android-cloexec-creat.cpp
android-cloexec-dup.cpp
android-cloexec-epoll-create.cpp
android-cloexec-epoll-create1.cpp
android-cloexec-fopen.cpp
android-cloexec-inotify-init.cpp
android-cloexec-inotify-init1.cpp
android-cloexec-memfd-create.cpp
android-cloexec-open.cpp
android-cloexec-pipe.cpp
android-cloexec-pipe2.cpp
android-cloexec-socket.cpp
android-comparison-in-temp-failure-retry-custom-macro.c Allow to specify macro names for android-comparison-in-temp-failure-retry 2020-10-01 10:09:26 -07:00
android-comparison-in-temp-failure-retry.c
boost-use-to-string.cpp
bugprone-argument-comment-gmock.cpp
bugprone-argument-comment-ignore-single-argument.cpp
bugprone-argument-comment-literals.cpp
bugprone-argument-comment-strict.cpp
bugprone-argument-comment.cpp [clang-tidy] Exclude function calls in std namespace for bugprone-argument-comment. 2020-05-07 09:00:49 +02:00
bugprone-assert-side-effect.cpp [clang-tidy] bugprone-assert-side-effect: Improve warning message. 2021-01-28 22:31:49 -08:00
bugprone-assert-side-effect.m [clang-tidy] bugprone-assert-side-effect: Warn on NSAssert by default. 2021-01-28 22:31:49 -08:00
bugprone-bad-signal-to-kill-thread-sigterm-not-a-literal.cpp [clang-tidy] Fix bugprone-bad-signal-to-kill-thread crash when `SIGTERM` is not a literal. 2020-08-06 10:32:03 +03:00
bugprone-bad-signal-to-kill-thread-undef-sigterm.cpp [clang-tidy] Fix bugprone-bad-signal-to-kill-thread crash when `SIGTERM` was undefined after definition. 2020-08-06 10:28:20 +03:00
bugprone-bad-signal-to-kill-thread.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-bool-pointer-implicit-conversion.cpp Support member expressions in bugprone-bool-pointer-implicit-conversion. 2020-08-05 07:14:28 -04:00
bugprone-branch-clone-if-constexpr-template.cpp [clang-tidy] Disable Checks on If constexpr statements in template Instantiations for BugproneBranchClone and ReadabilityBracesAroundStatements 2020-01-17 14:21:38 +00:00
bugprone-branch-clone-macro-crash.c
bugprone-branch-clone.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
bugprone-copy-constructor-init.cpp
bugprone-dangling-handle.cpp
bugprone-dynamic-static-initializers.hpp
bugprone-exception-escape-openmp.cpp
bugprone-exception-escape.cpp
bugprone-fold-init-type.cpp
bugprone-forward-declaration-namespace.cpp
bugprone-forwarding-reference-overload.cpp
bugprone-inaccurate-erase.cpp [clang-tidy] Simplify inaccurate erase check 2021-02-13 13:51:27 +00:00
bugprone-incorrect-roundings.cpp
bugprone-infinite-loop.cpp Assignment and Inc/Dec operators wouldn't register as a mutation when Implicit Paren Casts were present 2020-06-09 19:45:57 +01:00
bugprone-integer-division.cpp
bugprone-lambda-function-name.cpp
bugprone-macro-parentheses-cmdline.cpp
bugprone-macro-parentheses.cpp [Clang-Tidy] Quick fix for bug in bugprone-macro-parentheses 43804 2019-12-02 08:50:51 +01:00
bugprone-macro-repeated-side-effects.c
bugprone-misplaced-operator-in-strlen-in-alloc.c
bugprone-misplaced-operator-in-strlen-in-alloc.cpp
bugprone-misplaced-pointer-arithmetic-in-alloc.c [clang-tidy] New check: bugprone-misplaced-pointer-arithmetic-in-alloc 2020-01-21 14:38:15 +01:00
bugprone-misplaced-pointer-arithmetic-in-alloc.cpp [clang-tidy] Crash fix for bugprone-misplaced-pointer-arithmetic-in-alloc 2020-09-16 13:16:44 +02:00
bugprone-misplaced-widening-cast-explicit-only.cpp
bugprone-misplaced-widening-cast-implicit-enabled.cpp
bugprone-move-forwarding-reference.cpp
bugprone-multiple-statement-macro.cpp
bugprone-no-escape.m Warn pointer captured in async block 2020-07-07 13:31:14 -04:00
bugprone-not-null-terminated-result-in-initialization-strlen.c [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-memcpy-before-safe.c [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-memcpy-safe-cxx.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-memcpy-safe-other.c [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-memcpy-safe.c [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-stdc-want-lib-ext1-not-a-literal.c [clang-tidy] Fix a crash in bugprone-not-null-terminated-result check when `__STDC_WANT_LIB_EXT1__` is not a literal. 2020-08-10 15:12:03 +03:00
bugprone-not-null-terminated-result-strlen.c [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-undef-stdc-want-lib-ext1.c [clang-tidy] Fix a crash in bugprone-not-null-terminated-result check when `__STDC_WANT_LIB_EXT1__` was undefined after definition. 2020-08-10 10:24:38 +03:00
bugprone-not-null-terminated-result-wcslen.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-wmemcpy-safe-cxx.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-parent-virtual-call.cpp
bugprone-posix-return.cpp
bugprone-redundant-branch-condition.cpp [clang-tidy] false-positive for bugprone-redundant-branch-condition in case of passed-by-ref params 2020-12-11 21:09:51 +03:00
bugprone-reserved-identifier-c.c Add `bugprone-reserved-identifier` 2020-01-17 08:44:21 -05:00
bugprone-reserved-identifier-invert.cpp [clang-tidy] Fix RenamerClangTidy handling qualified TypeLocs 2020-03-23 13:45:34 +00:00
bugprone-reserved-identifier.cpp Add `bugprone-reserved-identifier` 2020-01-17 08:44:21 -05:00
bugprone-signal-handler-minimal.c [clang-tidy] Extending bugprone-signal-handler with POSIX functions. 2021-02-23 14:48:00 +01:00
bugprone-signal-handler-posix.c [clang-tidy] Extending bugprone-signal-handler with POSIX functions. 2021-02-23 14:48:00 +01:00
bugprone-signal-handler.c [clang-tidy] Extending bugprone-signal-handler with POSIX functions. 2021-02-23 14:48:00 +01:00
bugprone-signed-char-misuse-fsigned-char.cpp [clang-tidy] new check: bugprone-signed-char-misuse 2020-01-06 18:21:26 +01:00
bugprone-signed-char-misuse-funsigned-char.cpp [clang-tidy] new check: bugprone-signed-char-misuse 2020-01-06 18:21:26 +01:00
bugprone-signed-char-misuse-with-option.cpp [clang-tidy] new check: bugprone-signed-char-misuse 2020-01-06 18:21:26 +01:00
bugprone-signed-char-misuse.cpp [clang-tidy] extend bugprone-signed-char-misuse check with array subscript case. 2020-05-02 14:05:05 +02:00
bugprone-sizeof-container.cpp
bugprone-sizeof-expression.cpp [clang-tidy] Improving bugprone-sizeof-expr check. 2020-11-19 10:26:33 +01:00
bugprone-spuriously-wake-up-functions.c [clang-tidy] Add spuriously-wake-up-functions check 2020-03-21 12:04:03 +01:00
bugprone-spuriously-wake-up-functions.cpp [clang-tidy] Add spuriously-wake-up-functions check 2020-03-21 12:04:03 +01:00
bugprone-string-constructor.cpp [clang-tidy] Extend bugprone-string-constructor-check to std::string_view. 2020-11-18 21:16:03 -05:00
bugprone-string-integer-assignment.cpp Fix invalid attempted explicit instantiation, which Clang now rejects. 2020-07-29 13:07:34 -07:00
bugprone-string-literal-with-embedded-nul.cpp
bugprone-suspicious-enum-usage-strict.cpp
bugprone-suspicious-enum-usage.cpp
bugprone-suspicious-include.cpp [clang-tidy] New check: bugprone-suspicious-include 2020-03-12 09:59:28 -06:00
bugprone-suspicious-memset-usage.cpp [clang-tidy] More strict on matching the standard memset function in memset-usage check. 2020-07-10 11:42:35 +02:00
bugprone-suspicious-missing-comma.cpp
bugprone-suspicious-semicolon-constexpr.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
bugprone-suspicious-semicolon-fail.cpp
bugprone-suspicious-semicolon.cpp
bugprone-suspicious-string-compare.c
bugprone-suspicious-string-compare.cpp
bugprone-swapped-arguments.cpp
bugprone-terminating-continue.cpp
bugprone-throw-keyword-missing.cpp [clang-tidy] Simplify throw keyword missing check 2021-02-20 22:07:20 +00:00
bugprone-too-small-loop-variable-magniute-bits-upper-limit.cpp
bugprone-too-small-loop-variable.cpp
bugprone-undefined-memory-manipulation.cpp
bugprone-undelegated-constructor-cxx98.cpp
bugprone-undelegated-constructor.cpp
bugprone-unhandled-self-assignment-warn-only-if-this-has-suspicious-field.cpp
bugprone-unhandled-self-assignment.cpp [clang-tidy]: fix false positive of cert-oop54-cpp check. 2020-04-04 17:19:17 +02:00
bugprone-unused-raii-crash.mm [clang-tidy] Fix an unused-raii check crash on objective-c++. 2020-07-07 13:36:20 +02:00
bugprone-unused-raii.cpp [clang-tidy] Simplify unused RAII check 2021-03-02 21:33:34 +00:00
bugprone-unused-return-value-custom.cpp
bugprone-unused-return-value.cpp
bugprone-use-after-move.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
bugprone-virtual-near-miss.cpp Revert "[clang-itdy] Simplify virtual near-miss check" 2021-02-27 19:30:38 +00:00
cert-dcl21-cpp.cpp
cert-dcl58-cpp.cpp
cert-env33-c.c
cert-err34-c.c
cert-err34-c.cpp
cert-flp30-c.c
cert-limited-randomness.c
cert-limited-randomness.cpp
cert-mem57-cpp-cpp17.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
cert-mem57-cpp.cpp [clang-tidy] DefaultOperatorNewCheck test fixes. 2019-11-19 15:24:22 +01:00
cert-msc32-c.c
cert-msc51-cpp.cpp
cert-oop11-cpp.cpp
cert-oop54-cpp.cpp
cert-oop57-cpp.cpp [clang-tidy] Add check for CERT-OOP57-CPP 2020-01-20 17:09:03 +00:00
cert-oop58-cpp.cpp [clang-tidy] Add cert-oop58-cpp check 2019-12-15 16:30:14 +01:00
cert-setlongjmp.cpp
cert-static-object-exception.cpp
cert-str34-c.cpp [clang-tidy]: Add cert-str34-c alias for bugprone-signed-char-misuse. 2020-05-06 12:36:01 +02:00
cert-throw-exception-type.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
cert-uppercase-literal-suffix-integer.cpp
cert-variadic-function-def.cpp
concurrency-mt-unsafe-any.cpp [clang-tidy] implement concurrency-mt-unsafe 2020-11-30 12:27:17 +03:00
concurrency-mt-unsafe-glibc.cpp [clang-tidy] implement concurrency-mt-unsafe 2020-11-30 12:27:17 +03:00
concurrency-mt-unsafe-posix.cpp [clang-tidy] implement concurrency-mt-unsafe 2020-11-30 12:27:17 +03:00
concurrency-thread-canceltype-asynchronous.cpp [clang-tidy] Add new check 'concurrency-thread-canceltype-asynchronous' and alias 'cert-pos47-c'. 2021-02-22 12:42:20 +01:00
cppcoreguidelines-avoid-goto.cpp
cppcoreguidelines-avoid-non-const-global-variables.cpp Remove false positive in AvoidNonConstGlobalVariables. 2020-04-15 14:48:06 -04:00
cppcoreguidelines-init-variables-conflict.cpp [clang-tidy] Handled insertion only fixits when determining conflicts. 2020-07-29 16:35:44 +01:00
cppcoreguidelines-init-variables.cpp [clang-tidy] IncludeInserter: allow <> in header name 2020-09-28 15:14:04 +02:00
cppcoreguidelines-interfaces-global-init.cpp
cppcoreguidelines-macro-usage-caps-only.cpp
cppcoreguidelines-macro-usage-command-line-macros.cpp
cppcoreguidelines-macro-usage-custom.cpp [clang-tidy] Fix windows tests 2021-01-04 00:39:34 +00:00
cppcoreguidelines-macro-usage.cpp
cppcoreguidelines-narrowing-conversions-long-is-32bits.cpp
cppcoreguidelines-narrowing-conversions-narrowingfloatingpoint-option.cpp
cppcoreguidelines-narrowing-conversions-pedanticmode-option.cpp
cppcoreguidelines-narrowing-conversions-unsigned-char.cpp
cppcoreguidelines-narrowing-conversions.cpp cppcoreguidelines Narrowing Conversions Check: detect narrowing conversions involving typedefs 2020-12-08 13:10:41 -05:00
cppcoreguidelines-no-malloc-custom.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
cppcoreguidelines-no-malloc-no-functions.cpp
cppcoreguidelines-no-malloc.cpp NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
cppcoreguidelines-owning-memory-containers.cpp NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
cppcoreguidelines-owning-memory-legacy-functions.cpp
cppcoreguidelines-owning-memory.cpp
cppcoreguidelines-prefer-member-initializer-modernize-use-default-member-init-assignment.cpp [clang-tidy] New check cppcoreguidelines-prefer-member-initializer 2020-09-21 14:42:58 +02:00
cppcoreguidelines-prefer-member-initializer-modernize-use-default-member-init.cpp [clang-tidy] New check cppcoreguidelines-prefer-member-initializer 2020-09-21 14:42:58 +02:00
cppcoreguidelines-prefer-member-initializer.cpp [clang-tidy] Harden PreferMemberInitializerCheck 2021-02-22 19:41:11 +00:00
cppcoreguidelines-pro-bounds-array-to-pointer-decay.cpp
cppcoreguidelines-pro-bounds-constant-array-index-c++03.cpp
cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp
cppcoreguidelines-pro-bounds-constant-array-index.cpp
cppcoreguidelines-pro-bounds-pointer-arithmetic-pr36489.cpp
cppcoreguidelines-pro-bounds-pointer-arithmetic.cpp
cppcoreguidelines-pro-type-const-cast.cpp
cppcoreguidelines-pro-type-cstyle-cast.cpp
cppcoreguidelines-pro-type-member-init-cxx20.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
cppcoreguidelines-pro-type-member-init-cxx98.cpp
cppcoreguidelines-pro-type-member-init-delayed.cpp
cppcoreguidelines-pro-type-member-init-no-crash.cpp
cppcoreguidelines-pro-type-member-init-use-assignment.cpp
cppcoreguidelines-pro-type-member-init.cpp [clang-tidy] cppcoreguidelines-pro-type-member-init: suppress warning for default member funcs 2020-12-20 11:22:41 +00:00
cppcoreguidelines-pro-type-reinterpret-cast.cpp
cppcoreguidelines-pro-type-static-cast-downcast.cpp
cppcoreguidelines-pro-type-union-access.cpp
cppcoreguidelines-pro-type-vararg.cpp [clang-tidy] ignore builtin varargs from pro-type-vararg-check 2020-06-04 17:58:23 +01:00
cppcoreguidelines-slicing.cpp
cppcoreguidelines-special-member-functions-allow-missing-move-when-copy-is-deleted.cpp Add AllowMissingMoveFunctionsWhenCopyIsDeleted flag to cppcoreguidelines-special-member-functions 2020-03-16 08:14:48 -04:00
cppcoreguidelines-special-member-functions-cxx-03.cpp
cppcoreguidelines-special-member-functions-relaxed.cpp
cppcoreguidelines-special-member-functions.cpp
darwin-avoid-spinlock.m [test] NFC, add missing declarations and include to test files to avoid 'implicit-function-declaration' diagnostics in the tests 2020-05-14 10:01:50 -07:00
darwin-dispatch-once-nonstatic.mm
fuchsia-default-arguments-calls.cpp
fuchsia-default-arguments-declarations.cpp
fuchsia-multiple-inheritance.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
fuchsia-overloaded-operator.cpp
fuchsia-statically-constructed-objects.cpp
fuchsia-trailing-return.cpp
fuchsia-virtual-inheritance.cpp
google-build-explicit-make-pair.cpp
google-default-arguments.cpp
google-explicit-constructor.cpp
google-module.cpp [clang-tidy] Use StringMap for ClangTidyOptions::OptionsMap 2020-07-30 10:31:13 +01:00
google-namespaces.cpp
google-objc-avoid-nsobject-new.m
google-objc-avoid-throwing-exception.m
google-objc-function-naming.m
google-objc-function-naming.mm
google-objc-global-variable-declaration.m
google-objc-global-variable-declaration.mm
google-overloaded-unary-and.cpp
google-readability-casting.c
google-readability-casting.cpp [clang-tidy] Remove some test c++ mode restrictions. 2021-02-26 19:09:28 +00:00
google-readability-casting.mm
google-readability-namespace-comments-c++17.cpp [clang-tidy] Fix PR26274 2019-12-06 10:10:15 +01:00
google-readability-namespace-comments.cpp [clang-tidy] Fix PR26274 2019-12-06 10:10:15 +01:00
google-readability-todo.cpp
google-runtime-int-std.cpp
google-runtime-int.c
google-runtime-int.cpp
google-runtime-int.m
google-upgrade-googletest-case.cpp
hicpp-exception-baseclass.cpp
hicpp-multiway-paths-covered-else.cpp
hicpp-multiway-paths-covered.cpp
hicpp-no-assembler-msvc.cpp
hicpp-no-assembler.cpp
hicpp-signed-bitwise-bug34747.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
hicpp-signed-bitwise-integer-literals.cpp Add a test file that was missed in 4de6b15868 2019-10-30 16:55:43 -04:00
hicpp-signed-bitwise-standard-types.cpp
hicpp-signed-bitwise-standard-types.h
hicpp-signed-bitwise.cpp
linuxkernel-must-check-errs.c
llvm-include-order.cpp [clang-tidy] Make clang-format and include-order-check coherent 2020-11-17 14:54:10 +01:00
llvm-prefer-isa-or-dyn-cast-in-conditionals.cpp
llvm-prefer-register-over-unsigned.cpp
llvm-prefer-register-over-unsigned2.cpp
llvm-prefer-register-over-unsigned3.cpp
llvm-qualified-auto.cpp [clang-tidy] Added option for disabling const qualifiers in readability-qualified-auto 2020-02-02 21:27:25 +00:00
llvm-twine-local.cpp [clang-tidy] llvm-twine-local ignores parameters 2020-06-22 18:25:45 +01:00
llvmlibc-callee-namespace.cpp [clang-tidy] Add check callee-namespace. 2020-04-28 17:22:23 -07:00
llvmlibc-implementation-in-namespace.cpp [clang-tidy] Add check llvmlibc-implementation-in-namespace. 2020-04-06 10:49:49 -07:00
llvmlibc-restrict-system-libc-headers.cpp [clang-tidy] Merge common code between llvmlibc-restrict-system-libc-headers and portability-restrict-system-includes 2020-03-20 15:53:05 -07:00
misc-definitions-in-headers-1z.hpp [clang-tidy] No misc-definitions-in-headers warning on C++14 variable templates. 2020-02-12 16:56:31 +01:00
misc-definitions-in-headers.hpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
misc-misplaced-const-cxx17.cpp
misc-misplaced-const.c Extend misc-misplaced-const to detect using declarations as well as typedef 2020-01-22 15:26:11 -05:00
misc-misplaced-const.cpp Extend misc-misplaced-const to detect using declarations as well as typedef 2020-01-22 15:26:11 -05:00
misc-new-delete-overloads-sized-dealloc.cpp
misc-new-delete-overloads.cpp
misc-no-recursion.cpp [clang-tidy] misc-no-recursion: point to the function defs, not decls 2020-02-20 14:17:30 +03:00
misc-non-copyable-objects.c
misc-non-copyable-objects.cpp
misc-non-private-member-variables-in-classes.cpp
misc-redundant-expression.cpp Reinstate check that we don't crash. 2020-08-06 19:07:50 -07:00
misc-static-assert.c
misc-static-assert.cpp [clang-tidy] Tweak misc-static-assert fix in c++17 2021-03-01 18:51:50 +00:00
misc-throw-by-value-catch-by-reference.cpp
misc-unconventional-assign-operator-cxx17.cpp
misc-unconventional-assign-operator-precxx11.cpp [clang-tidy] misc-unconventional-assign-operator suggest to use rvalue references in C++03 mode 2020-03-18 21:39:23 +00:00
misc-unconventional-assign-operator.cpp [clang-tidy] Added a case to UnconventionalAssignOperatorCheck. 2020-02-19 10:07:34 +01:00
misc-uniqueptr-reset-release.cpp [clang-tidy] Simplify diagnostics for UniqueptrResetRelease check 2021-03-01 18:40:37 +00:00
misc-unused-alias-decls.cpp
misc-unused-parameters-strict.cpp
misc-unused-parameters.c
misc-unused-parameters.cpp [clang-tidy] misc-unused-parameters: Don't remove parameter from lambda 2020-04-09 19:26:41 +02:00
misc-unused-using-decls-cxx17.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
misc-unused-using-decls-errors.cpp
misc-unused-using-decls.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
modernize-avoid-bind-permissive-parameter-list.cpp Repair various issues with modernize-avoid-bind 2020-06-25 07:29:53 -04:00
modernize-avoid-bind.cpp Repair various issues with modernize-avoid-bind 2020-06-25 07:29:53 -04:00
modernize-avoid-c-arrays-ignores-main.cpp
modernize-avoid-c-arrays-ignores-three-arg-main.cpp
modernize-avoid-c-arrays.cpp
modernize-concat-nested-namespaces.cpp
modernize-deprecated-headers-cxx03.cpp
modernize-deprecated-headers-cxx11.cpp
modernize-deprecated-ios-base-aliases.cpp
modernize-loop-convert-assert-failure.cpp
modernize-loop-convert-basic.cpp [clang-tidy] Extend LoopConvert on array with `!=` comparison 2021-03-04 18:58:59 +00:00
modernize-loop-convert-camelback.cpp
modernize-loop-convert-const.cpp
modernize-loop-convert-extra.cpp
modernize-loop-convert-lowercase.cpp
modernize-loop-convert-multidimensional.cpp [clang-tidy] fix modernize-loop-convert to retain needed array-like operator[] 2021-02-07 16:36:34 +00:00
modernize-loop-convert-negative.cpp
modernize-loop-convert-reverse.cpp [clang-tidy][test] Allow specifying potentially unused suffixes 2021-02-24 15:22:54 +00:00
modernize-loop-convert-rewritten-binop.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
modernize-loop-convert-uppercase.cpp
modernize-loop-convert.c
modernize-make-shared-header.cpp
modernize-make-shared.cpp [clang-tidy] Omit std::make_unique/make_shared for default initialization. 2020-12-08 10:34:17 -05:00
modernize-make-unique-cxx11.cpp
modernize-make-unique-default-init.cpp [clang-tidy] Omit std::make_unique/make_shared for default initialization. 2020-12-08 10:34:17 -05:00
modernize-make-unique-header.cpp
modernize-make-unique-inaccessible-ctors.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
modernize-make-unique-macros.cpp
modernize-make-unique.cpp [clang-tidy] Omit std::make_unique/make_shared for default initialization. 2020-12-08 10:34:17 -05:00
modernize-pass-by-value-header.cpp
modernize-pass-by-value-macro-header.cpp
modernize-pass-by-value-multi-fixes.cpp
modernize-pass-by-value.cpp Skip TemplateSpecializedType in modernize-pass-by-value. 2020-02-28 09:17:16 -05:00
modernize-raw-string-literal-delimiter.cpp
modernize-raw-string-literal-replace-shorter.cpp
modernize-raw-string-literal.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
modernize-redundant-void-arg-delayed.cpp
modernize-redundant-void-arg.c
modernize-redundant-void-arg.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
modernize-replace-auto-ptr.cpp
modernize-replace-disallow-copy-and-assign-macro.cpp [clang-tidy][test] Fix test failure when LLVM_ENABLE_WERROR is set. 2020-10-30 23:17:11 +00:00
modernize-replace-random-shuffle.cpp
modernize-return-braced-init-list.cpp [clang-tidy] Simplify braced init check 2021-02-20 20:09:13 +00:00
modernize-shrink-to-fit.cpp
modernize-unary-static-assert.cpp
modernize-use-auto-cast-remove-stars.cpp
modernize-use-auto-cast.cpp
modernize-use-auto-iterator.cpp
modernize-use-auto-min-type-name-length.cpp
modernize-use-auto-new-remove-stars.cpp
modernize-use-auto-new.cpp
modernize-use-bool-literals-ignore-macros.cpp
modernize-use-bool-literals.cpp
modernize-use-default-member-init-assignment.cpp
modernize-use-default-member-init-bitfield.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
modernize-use-default-member-init-macros.cpp
modernize-use-default-member-init.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
modernize-use-emplace-ignore-implicit-constructors.cpp
modernize-use-emplace.cpp
modernize-use-equals-default-copy.cpp [clang-tidy] modernize-use-equals-default avoid adding redundant semicolons 2019-11-20 18:08:37 -05:00
modernize-use-equals-default-delayed.cpp
modernize-use-equals-default-macros.cpp
modernize-use-equals-default.cpp [clang-tidy] modernize-use-equals-default avoid adding redundant semicolons 2019-11-20 18:08:37 -05:00
modernize-use-equals-delete-macros.cpp
modernize-use-equals-delete.cpp
modernize-use-nodiscard-clang-unused.cpp
modernize-use-nodiscard-cxx11.cpp
modernize-use-nodiscard-gcc-unused.cpp
modernize-use-nodiscard-no-macro-inscope-cxx11.cpp
modernize-use-nodiscard-no-macro.cpp
modernize-use-nodiscard.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
modernize-use-noexcept-error.cpp [clang-tidy] Fix potential assert in use-noexcept check 2020-05-24 14:40:58 +01:00
modernize-use-noexcept-macro.cpp
modernize-use-noexcept-opt.cpp [clang-tidy] Fix crash in modernize-use-noexcept on uninstantiated throw class 2020-09-16 08:13:00 +03:00
modernize-use-noexcept.cpp
modernize-use-nullptr-basic.cpp NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
modernize-use-nullptr-cxx20.cpp [clang-tidy] fix modernize-use-nullptr false positive with spaceship operator comparisons 2021-02-09 14:02:45 +00:00
modernize-use-nullptr.c
modernize-use-nullptr.cpp
modernize-use-override-allow-override-and-final.cpp [clang-tidy] modernize-use-override new option AllowOverrideAndFinal 2019-11-19 07:52:32 -05:00
modernize-use-override-cxx98.cpp
modernize-use-override-ms.cpp
modernize-use-override-no-destructors.cpp
modernize-use-override-with-macro.cpp
modernize-use-override-with-no-macro-inscope.cpp
modernize-use-override.cpp
modernize-use-trailing-return-type-cxx20.cpp Add support for C++20 concepts and decltype to modernize-use-trailing-return-type. 2020-08-15 10:40:22 -04:00
modernize-use-trailing-return-type.cpp modernize-use-trailing-return-type fix for PR44206 2020-10-03 10:08:44 -04:00
modernize-use-transparent-functors.cpp
modernize-use-uncaught-exceptions.cpp
modernize-use-using-macros.cpp
modernize-use-using.cpp [clang-tidy] modernize-use-using: Fix broken fixit with InjectedClassName 2020-04-27 14:23:23 +02:00
mpi-buffer-deref.cpp
mpi-type-mismatch.cpp
objc-avoid-nserror-init.m
objc-dealloc-in-category.m Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category. 2020-02-10 08:56:28 -07:00
objc-forbidden-subclassing-custom.m
objc-forbidden-subclassing.m
objc-missing-hash.m
objc-nsinvocation-argument-lifetime.m [clang-tidy] Add check to find calls to NSInvocation methods under ARC that don't have proper object argument lifetimes. 2020-04-10 08:51:21 -07:00
objc-property-declaration.m
objc-super-self.m
openmp-exception-escape.cpp
openmp-use-default-none.cpp [OpenMP] Add firstprivate as a default data-sharing attribute to clang 2020-07-12 23:01:40 -05:00
performance-faster-string-find.cpp [clang-tidy] performance-faster-string-find string-view 2020-06-30 16:45:59 +01:00
performance-for-range-copy-allowed-types.cpp
performance-for-range-copy-warn-on-all-auto-copies.cpp
performance-for-range-copy.cpp [clang-tidy] performance-for-range-copy: Don't trigger on implicit type conversions. 2021-03-02 20:02:48 -05:00
performance-implicit-conversion-in-loop.cpp
performance-inefficient-algorithm.cpp [clang-tidy] Simplify inefficient algorithm check 2021-02-17 10:19:44 +00:00
performance-inefficient-string-concatenation.cpp
performance-inefficient-vector-operation.cpp
performance-move-const-arg-trivially-copyable.cpp
performance-move-const-arg.cpp
performance-move-constructor-init.cpp
performance-no-automatic-move.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
performance-no-int-to-ptr.c [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
performance-no-int-to-ptr.cpp [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
performance-noexcept-move-constructor-fix.cpp
performance-noexcept-move-constructor.cpp
performance-trivially-destructible.cpp [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
performance-type-promotion-in-math-fn.cpp
performance-unnecessary-copy-initialization-allowed-types.cpp
performance-unnecessary-copy-initialization.cpp [clang-tidy] performance-unnecessary-copy-initialization: Prevent false positives when dependent variable is modified. 2020-12-10 16:58:17 -05:00
performance-unnecessary-value-param-allowed-types.cpp
performance-unnecessary-value-param-arc.m NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
performance-unnecessary-value-param-arc.mm NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
performance-unnecessary-value-param-delayed.cpp
performance-unnecessary-value-param-header.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
performance-unnecessary-value-param-incomplete-type.cpp
performance-unnecessary-value-param.cpp
portability-restrict-system-includes-allow.cpp [clang-tidy] Mock system headers for portability-restrict-system-includes tests. 2020-03-11 12:13:27 -07:00
portability-restrict-system-includes-disallow.cpp [clang-tidy] Mock system headers for portability-restrict-system-includes tests. 2020-03-11 12:13:27 -07:00
portability-restrict-system-includes-glob.cpp [clang-tidy] Mock system headers for portability-restrict-system-includes tests. 2020-03-11 12:13:27 -07:00
portability-restrict-system-includes-transitive.cpp [clang-tidy] Move fuchsia-restrict-system-includes to portability module for general use. 2020-03-10 13:33:06 -07:00
portability-simd-intrinsics-ppc.cpp [clang-tidy] Remove some test c++ mode restrictions. 2021-02-26 19:09:28 +00:00
portability-simd-intrinsics-x86.cpp [clang-tidy] Remove some test c++ mode restrictions. 2021-02-26 19:09:28 +00:00
readability-avoid-const-params-in-decls.cpp [clang-tidy] Fix readability-avoid-const-params-in-decls removing const in template paramaters 2021-02-24 15:54:10 +00:00
readability-avoid-underscore-in-googletest-name.cpp
readability-braces-around-statements-assert-failure.cpp
readability-braces-around-statements-constexpr-if-templates.cpp [clang-tidy] Disable Checks on If constexpr statements in template Instantiations for BugproneBranchClone and ReadabilityBracesAroundStatements 2020-01-17 14:21:38 +00:00
readability-braces-around-statements-few-lines.cpp
readability-braces-around-statements-format.cpp
readability-braces-around-statements-same-line.cpp
readability-braces-around-statements-single-line.cpp
readability-braces-around-statements.cpp
readability-const-return-type.cpp Fix readability-const-return-type identifying the wrong `const` token 2019-12-24 10:10:01 -05:00
readability-container-size-empty-cxx20.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
readability-container-size-empty.cpp [clang-tidy] Simplify implementation of container-size-empty 2021-02-05 14:03:41 +00:00
readability-convert-member-functions-to-static.cpp
readability-delete-null-pointer.cpp [clang-tidy] Simplify delete null ptr check 2021-02-17 10:18:36 +00:00
readability-deleted-default.cpp
readability-else-after-return-if-constexpr.cpp
readability-else-after-return-no-cond-var-refactor.cpp [clang-tidy] Added option to readability-else-after-return 2020-06-30 19:34:45 +01:00
readability-else-after-return-no-warn.cpp Handle init statements in readability-else-after-return 2020-01-02 13:39:27 -05:00
readability-else-after-return-pp-no-crash.cpp [clang-tidy] ElseAfterReturn check wont suggest fixes if preprocessor branches are involved 2020-11-19 18:20:32 +00:00
readability-else-after-return.cpp [clang-tidy] ElseAfterReturn check wont suggest fixes if preprocessor branches are involved 2020-11-19 18:20:32 +00:00
readability-function-cognitive-complexity-flags.cpp [clang-tidy] Add options to describe individual core increments to readability-function-cognitive-complexity check. 2021-03-04 21:02:27 +01:00
readability-function-cognitive-complexity.cpp [clang-tidy] Simplify function complexity check 2021-02-20 22:06:16 +00:00
readability-function-size-variables-c++17.cpp
readability-function-size.cpp
readability-identifier-naming-bugfix-name-conflicts.cpp [clang-tidy] Fix RenamerClangTidy checks trying to emit a fix that isnt a valid identifier 2020-11-23 20:04:51 +00:00
readability-identifier-naming-bugfix.cpp
readability-identifier-naming-case-violation.cpp [clang-tidy] Add support for diagnostics with no location 2020-12-08 20:29:31 +00:00
readability-identifier-naming-ignored-regexp.cpp [clang-tidy] Fix windows tests 2021-01-04 00:39:34 +00:00
readability-identifier-naming-main-like.cpp [clang-tidy] readability-identifier-naming disregards parameters restrictions on main like functions 2020-01-27 23:47:51 +00:00
readability-identifier-naming-member-decl-usage.cpp [clang-tidy] RenamerClangTidy now renames dependent member expr when the member can be resolved 2020-05-09 16:21:49 +01:00
readability-identifier-naming-multiple-styles.cpp [clang-tidy] Extend IdentifierNamingCheck per file config 2020-11-05 19:51:05 +00:00
readability-identifier-naming-objc.m
readability-identifier-naming.cpp Mark implicit coroutine variables as being implicit 2020-12-16 14:42:07 -05:00
readability-implicit-bool-conversion-allow-in-conditions.cpp
readability-implicit-bool-conversion-cxx98.cpp
readability-implicit-bool-conversion.cpp
readability-inconsistent-declaration-parameter-name-macros.cpp
readability-inconsistent-declaration-parameter-name-strict.cpp
readability-inconsistent-declaration-parameter-name.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
readability-isolate-declaration-cxx17.cpp
readability-isolate-declaration-fixing.cpp
readability-isolate-declaration-no-infinite-loop.cpp
readability-isolate-declaration.c
readability-isolate-declaration.cpp
readability-magic-numbers-bitfields.cpp Optionally exclude bitfield definitions from magic numbers check 2019-12-07 12:33:10 -05:00
readability-magic-numbers-todo.cpp Fix false positive in magic number checker. 2019-12-24 10:03:00 -05:00
readability-magic-numbers-userliteral.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
readability-magic-numbers.cpp Fix false positive in magic number checker. 2019-12-24 10:03:00 -05:00
readability-make-member-function-const.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
readability-misleading-indentation.cpp [clang-tidy] For checker `readability-misleading-indentation` update tests. 2020-01-09 13:52:26 +02:00
readability-misplaced-array-index.cpp
readability-named-parameter.cpp
readability-non-const-parameter.cpp
readability-qualified-auto-cxx20.cpp Added readability-qualified-auto check 2020-01-14 14:06:46 -05:00
readability-qualified-auto.cpp Added readability-qualified-auto check 2020-01-14 14:06:46 -05:00
readability-redundant-access-specifiers-check-first-declaration.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
readability-redundant-access-specifiers.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
readability-redundant-control-flow.cpp
readability-redundant-declaration-ignore-macros.cpp
readability-redundant-declaration.c
readability-redundant-declaration.cpp NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
readability-redundant-function-ptr-dereference.cpp
readability-redundant-member-init.cpp [clang-tidy] Give readability-redundant-member-init an option IgnoreBaseInCopyConstructors to avoid breaking code with gcc -Werror=extra 2019-11-19 10:59:21 -05:00
readability-redundant-preprocessor-ifdef.cpp
readability-redundant-preprocessor.cpp
readability-redundant-preprocessor.h
readability-redundant-smartptr-get-macros.cpp
readability-redundant-smartptr-get-msvc.cpp
readability-redundant-smartptr-get.cpp [clang-tidy] Handle uninstantiated templates in redundant get check 2021-02-27 12:08:41 +00:00
readability-redundant-string-cstr-msvc.cpp
readability-redundant-string-cstr.cpp [clang-tidy] Fix RedundantStringCStrCheck with r values 2020-07-29 15:35:31 +01:00
readability-redundant-string-init-msvc.cpp [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a 2019-11-19 07:52:31 -05:00
readability-redundant-string-init.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
readability-simplify-bool-expr-chained-conditional-assignment.cpp
readability-simplify-bool-expr-chained-conditional-return.cpp
readability-simplify-bool-expr-members.cpp
readability-simplify-bool-expr.cpp [clang-tidy] readability-simplify-boolean-expr detects negated literals 2020-08-22 13:57:36 +01:00
readability-simplify-subscript-expr.cpp
readability-static-accessed-through-instance-nesting-threshold.cpp
readability-static-accessed-through-instance.cpp
readability-static-definition-in-anonymous-namespace.cpp
readability-string-compare.cpp
readability-uniqueptr-delete-release.cpp [clang-tidy] Added option to uniqueptr delete release check 2021-03-01 21:52:13 +00:00
readability-uppercase-literal-suffix-float16.cpp
readability-uppercase-literal-suffix-floating-point-opencl-half.cpp
readability-uppercase-literal-suffix-floating-point.cpp
readability-uppercase-literal-suffix-hexadecimal-floating-point.cpp
readability-uppercase-literal-suffix-integer-custom-list.cpp
readability-uppercase-literal-suffix-integer-macro.cpp
readability-uppercase-literal-suffix-integer-ms.cpp
readability-uppercase-literal-suffix-integer.cpp
readability-uppercase-literal-suffix.h
readability-use-anyofallof-cpp20.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
readability-use-anyofallof.cpp second attempt to fix build after add51e1 2020-06-03 15:16:36 +01:00
zircon-temporary-objects.cpp