llvm-project/clang-tools-extra/test/clang-tidy
Jonas Toth f22f3489d7 [clang-tidy] implement check for goto
The usage of `goto` is discourage in C++ since forever. This check implements
a warning for every `goto`. Even though there are (rare) valid use cases for
`goto`, better high level constructs should be used.

`goto` is used sometimes in C programs to free resources at the end of 
functions in the case of errors. This pattern is better implemented with
RAII in C++.

Reviewers: aaron.ballman, alexfh, hokein

Reviewed By: aaron.ballman

Subscribers: lebedev.ri, jbcoe, Eugene.Zelenko, klimek, nemanjai, mgorny, xazax.hun, kbarton, cfe-commits

Differential Revision: https://reviews.llvm.org/D41815

llvm-svn: 322626
2018-01-17 10:27:41 +00:00
..
Inputs Fix up clang-tidy after clang r314037. 2017-09-22 23:47:20 +00:00
android-cloexec-accept.cpp [clang-tidy] Add a close-on-exec check on accept() in Android module. 2017-08-16 17:18:16 +00:00
android-cloexec-accept4.cpp [clang-tidy] Add a close-on-exec check on accept4() in Android module. 2017-08-16 17:46:18 +00:00
android-cloexec-creat.cpp [clang-tidy][Part2] Add a new module Android and three new checks 2017-06-29 17:40:57 +00:00
android-cloexec-dup.cpp [clang-tidy] Add a close-on-exec check on dup() in Android module. 2017-08-14 17:04:16 +00:00
android-cloexec-epoll-create.cpp [clang-tidy] Add a close-on-exec check on epoll_create() in Android module. 2017-08-16 18:02:49 +00:00
android-cloexec-epoll-create1.cpp [clang-tidy] Add a close-on-exec check on epoll_create1() in Android module. 2017-08-16 17:53:12 +00:00
android-cloexec-fopen.cpp [clang-tidy][Part3] Add a new module Android and three new checks. 2017-06-29 17:42:23 +00:00
android-cloexec-inotify-init.cpp [clang-tidy] Add a close-on-exec check on inotify_init() in Android module. 2017-08-14 17:25:41 +00:00
android-cloexec-inotify-init1.cpp [clang-tidy] Add a close-on-exec check on inotify_init1() in Android module. 2017-08-14 17:45:48 +00:00
android-cloexec-memfd-create.cpp [clang-tidy] Fix for buildbot. 2017-08-10 22:09:22 +00:00
android-cloexec-open.cpp [clang-tidy] Rename android-file-open-flag and fix a bug 2017-06-29 19:13:29 +00:00
android-cloexec-socket.cpp [clang-tidy] Add a new Android check "android-cloexec-socket" 2017-07-12 17:43:36 +00:00
basic.cpp
boost-use-to-string.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
bugprone-argument-comment-gmock.cpp [clang-tidy] rename_check.py misc-argument-comment bugprone-argument-comment 2017-11-23 17:02:48 +00:00
bugprone-argument-comment-strict.cpp [clang-tidy] rename_check.py misc-argument-comment bugprone-argument-comment 2017-11-23 17:02:48 +00:00
bugprone-argument-comment.cpp [clang-tidy] rename_check.py misc-argument-comment bugprone-argument-comment 2017-11-23 17:02:48 +00:00
bugprone-assert-side-effect.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-bool-pointer-implicit-conversion.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-copy-constructor-init.cpp [clang-tidy] Fix an oversight after renaming a check 2017-11-17 12:28:58 +00:00
bugprone-dangling-handle.cpp [clang-tidy] Fix DanglingHandleCheck for the correct conversion operation between basic_string and basic_string_view. 2018-01-08 15:59:08 +00:00
bugprone-fold-init-type.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-forward-declaration-namespace.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-inaccurate-erase.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-integer-division.cpp [clang-tidy] Add integer division check 2017-08-10 13:30:30 +00:00
bugprone-misplaced-operator-in-strlen-in-alloc.c [clang-tidy] Detect bugs in bugprone-misplaced-operator-in-strlen-in-alloc even in the case the allocation function is called using a constant function pointer 2017-11-23 13:12:25 +00:00
bugprone-misplaced-operator-in-strlen-in-alloc.cpp [clang-tidy] Add support for operator new[] in check bugprone-misplaced-operator-in-strlen-in-alloc 2017-11-23 12:56:23 +00:00
bugprone-move-forwarding-reference.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-multiple-statement-macro.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-string-constructor.cpp [clang-tidy] rename_check.py misc-string-constructor bugprone-string-constructor 2017-11-23 13:49:14 +00:00
bugprone-suspicious-memset-usage.cpp [clang-tidy] Add bugprone-suspicious-memset-usage check 2017-07-14 12:15:55 +00:00
bugprone-undefined-memory-manipulation.cpp [clang-tidy] bugprone-undefined-memory-manipulation: include type into the message 2017-08-24 12:11:05 +00:00
bugprone-use-after-move.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-virtual-near-miss.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
cert-dcl21-cpp.cpp [clang-tidy] Add new cert-dcl21-cpp check 2017-05-10 11:16:55 +00:00
cert-dcl58-cpp.cpp [clang-tidy] Add cert-dcl58-cpp (do not modify the 'std' namespace) check. 2017-02-17 08:52:51 +00:00
cert-env33-c.c
cert-err34-c.c Add a clang-tidy check that flags string-to-number conversion functions that have insufficient error checking, suggesting a better alternative. 2016-04-29 20:56:48 +00:00
cert-err34-c.cpp Add a clang-tidy check that flags string-to-number conversion functions that have insufficient error checking, suggesting a better alternative. 2016-04-29 20:56:48 +00:00
cert-flp30-c.c
cert-limited-randomness.c Add a new clang-tidy check for cert-msc50-cpp (and cert-msc30-c) that corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/MSC50-CPP.+Do+not+use+std%3A%3Arand%28%29+for+generating+pseudorandom+numbers 2016-11-02 14:16:36 +00:00
cert-limited-randomness.cpp Add a new clang-tidy check for cert-msc50-cpp (and cert-msc30-c) that corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/MSC50-CPP.+Do+not+use+std%3A%3Arand%28%29+for+generating+pseudorandom+numbers 2016-11-02 14:16:36 +00:00
cert-oop11-cpp.cpp [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
cert-setlongjmp.cpp
cert-static-object-exception.cpp [clang-tidy] When" -fno-exceptions is used", this warning is better to be suppressed. 2017-06-07 17:41:59 +00:00
cert-throw-exception-type.cpp
cert-variadic-function-def.cpp
check_clang_tidy.py Support Objective-C/C++ source files in check_clang_tidy.py 2017-10-18 15:56:39 +00:00
clang-tidy-diff.cpp Fix windows buildbots that don't have full shell support 2017-02-17 21:31:31 +00:00
clang-tidy-run-with-database.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
clean-up-code.cpp [clang-tidy] Format code around applied fixes 2017-03-03 11:16:34 +00:00
config-files.cpp
cppcoreguidelines-avoid-goto.cpp [clang-tidy] implement check for goto 2018-01-17 10:27:41 +00:00
cppcoreguidelines-interfaces-global-init.cpp
cppcoreguidelines-no-malloc-custom.cpp [clang-tidy] Function names configurable for cppcoreguidelines-nomalloc - checker 2017-03-02 08:28:55 +00:00
cppcoreguidelines-no-malloc-no-functions.cpp [clang-tidy] Function names configurable for cppcoreguidelines-nomalloc - checker 2017-03-02 08:28:55 +00:00
cppcoreguidelines-no-malloc.cpp Fix size_t typdef in new cppcoreguidelines-no-malloc.cpp test 2016-12-13 20:25:47 +00:00
cppcoreguidelines-owning-memory-containers.cpp [clang-tidy] introduce legacy resource functions to 'cppcoreguidelines-owning-memory' 2017-10-18 16:14:15 +00:00
cppcoreguidelines-owning-memory-legacy-functions.cpp [clang-tidy] Fix 32bit platform MSVC 2017-10-18 16:40:19 +00:00
cppcoreguidelines-owning-memory.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
cppcoreguidelines-pro-bounds-array-to-pointer-decay.cpp Reverting r298421 due to using a header that's unavailable to all systems and some other post-commit review feedback. 2017-03-22 01:08:54 +00:00
cppcoreguidelines-pro-bounds-constant-array-index-c++03.cpp cppcoreguidelines-pro-bounds-constant-array-index: crash for value dependent index in c++03 mode 2016-07-14 20:00:48 +00:00
cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp
cppcoreguidelines-pro-bounds-constant-array-index.cpp cppcoreguidelines-pro-bounds-constant-array-index: ignore implicit constructor 2016-07-19 17:02:54 +00:00
cppcoreguidelines-pro-bounds-pointer-arithmetic.cpp
cppcoreguidelines-pro-type-const-cast.cpp
cppcoreguidelines-pro-type-cstyle-cast.cpp
cppcoreguidelines-pro-type-member-init-cxx98.cpp Fixed cppcoreguidelines-pro-type-member-init when checking records with indirect fields 2016-05-10 07:42:19 +00:00
cppcoreguidelines-pro-type-member-init-delayed.cpp
cppcoreguidelines-pro-type-member-init.cpp [cppcoreguidelines] Don't rely on SmallPtrSet iteration order. 2017-08-30 20:18:40 +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-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp: Tweak for r270775. 2016-05-26 11:20:54 +00:00
cppcoreguidelines-slicing.cpp [clang-tidy] cppcoreguidelines-slicing: display discarded state size in bytes 2016-12-22 14:12:31 +00:00
cppcoreguidelines-special-member-functions-cxx-03.cpp Add the 'AllowSoleDefaultDtor' and 'AllowMissingMoveFunctions' options to the cppcoreguidelines-special-member-functions check. 2017-03-13 21:39:00 +00:00
cppcoreguidelines-special-member-functions-relaxed.cpp Add the 'AllowSoleDefaultDtor' and 'AllowMissingMoveFunctions' options to the cppcoreguidelines-special-member-functions check. 2017-03-13 21:39:00 +00:00
cppcoreguidelines-special-member-functions.cpp Add the 'AllowSoleDefaultDtor' and 'AllowMissingMoveFunctions' options to the cppcoreguidelines-special-member-functions check. 2017-03-13 21:39:00 +00:00
custom-diagnostics.cpp [clang-tidy] Fix the order of ExtraArgsBefore 2016-08-23 14:13:31 +00:00
deduplication.cpp
diagnostic.cpp Fix clang-tidy diagnostic.cpp test on Windows 2017-07-11 20:22:17 +00:00
explain-checks.cpp Fix explain-check failure test on Windows. 2016-04-27 16:39:42 +00:00
extra-args.cpp [clang-tidy] Fix the order of ExtraArgsBefore 2016-08-23 14:13:31 +00:00
file-filter.cpp [clang-tidy] Add -quiet option to suppress extra output 2017-02-09 18:32:02 +00:00
fix-errors.cpp
fix.cpp [clang-tidy] Clean up code after applying replacements. 2016-10-17 17:25:02 +00:00
fuchsia-default-arguments.cpp Add a new clang-tidy module for Fuchsia as an umbrella to diagnose issues with the Fuschia and Zircon coding guidelines (https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md). Adds the first of such checkers, which detects when default arguments are declared in a function declaration or when default arguments are used at call sites. 2017-11-28 21:09:25 +00:00
fuchsia-overloaded-operator.cpp [clang-tidy] Update fuchsia-overloaded-operator to check for valid loc 2018-01-03 22:10:11 +00:00
fuchsia-statically-constructed-objects.cpp [clang-tidy] Adding Fuchsia checker for statically constructed objects 2018-01-11 21:17:43 +00:00
fuchsia-virtual-inheritance.cpp [clang-tidy] Adding Fuchsia checker for virtual inheritance 2017-12-15 18:54:28 +00:00
google-build-explicit-make-pair.cpp
google-default-arguments.cpp [clang-tidy] new google-default-arguments check 2016-05-09 13:43:58 +00:00
google-explicit-constructor.cpp [clang-tidy] Fix google-explicit-constructor issue with out-of-line conversions 2017-04-18 17:26:00 +00:00
google-module.cpp
google-namespaces.cpp Make google-build-using-namespace skip std::.*literals 2017-05-15 17:37:48 +00:00
google-objc-avoid-throwing-exception.m add check to avoid throwing objc exception according to Google Objective-C guide 2017-11-16 01:28:29 +00:00
google-objc-global-variable-declaration.m [clang-tidy] Function-scoped static variables should not trigger google-objc-global-variable-declaration 2018-01-05 23:26:06 +00:00
google-overloaded-unary-and.cpp
google-readability-casting.c [clang-tidy] google-readability-casting: don't use constructor call syntax for const types 2017-03-03 08:18:49 +00:00
google-readability-casting.cpp [clang-tidy] Ignore blank spaces between cast's ")" and its sub expr. 2017-07-12 16:38:59 +00:00
google-readability-namespace-comments.cpp [clang-tidy] Add a regression test for google-readability-namespace-comments 2017-10-13 14:11:14 +00:00
google-readability-nested-namespace-comments.cpp [clang-tidy] Fix google-readability-namespace-comments handling of C++17 nested namespaces 2018-01-11 13:00:28 +00:00
google-readability-todo.cpp
google-runtime-int-std.cpp
google-runtime-int.c
google-runtime-int.cpp
google-runtime-member-string-references.cpp
google-runtime-references.cpp [clang-tidy] Add a whitelist option in google-runtime-references. 2016-10-10 16:38:11 +00:00
hicpp-exception-baseclass.cpp [clang-tidy] Improve hicpp-exception-baseclass to handle generic code better 2017-08-30 15:59:01 +00:00
hicpp-no-assembler-msvc.cpp [clang-tidy] Don't error on MS-style inline assembly. 2017-10-20 23:00:51 +00:00
hicpp-no-assembler.cpp [clang-tidy] Remove MSVC inline assembly test from cross-plat test. 2017-10-20 23:09:20 +00:00
hicpp-signed-bitwise-bug34747.cpp [clang-tidy] fix buildbot hicpp-signed-bitwise 2017-10-03 17:08:57 +00:00
hicpp-signed-bitwise-standard-types.cpp [clang-tidy] Fix bug 34845, offending standard bitmask types 2017-10-27 14:44:08 +00:00
hicpp-signed-bitwise-standard-types.h [clang-tidy] Fix bug 34845, offending standard bitmask types 2017-10-27 14:44:08 +00:00
hicpp-signed-bitwise.cpp Fix hicpp-signed-bitwise.cpp test on Windows, where the MSVC ABI changes enum underlying types 2017-10-03 20:37:06 +00:00
line-filter.cpp
list-checks.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
llvm-include-order.cpp Analyze include order on a per-file basis. 2016-08-12 18:38:26 +00:00
llvm-twine-local.cpp [clang-tidy] TwineLocalCheck: add param # checking 2017-05-14 04:14:59 +00:00
macros.cpp
misc-definitions-in-headers-1z.hpp [clang-tidy] Enable inline variable definitions in headers 2017-06-28 12:47:35 +00:00
misc-definitions-in-headers.hpp [clang-tidy] follow-up on misc-definitions-in-header check. 2017-06-29 08:28:45 +00:00
misc-forwarding-reference-overload.cpp [clang-tidy] Do not dereference a null BaseType 2017-05-23 16:19:04 +00:00
misc-incorrect-roundings.cpp
misc-lambda-function-name.cpp [clang-tidy] check for __func__/__FUNCTION__ in lambdas 2017-06-02 17:36:32 +00:00
misc-macro-parentheses-cmdline.cpp
misc-macro-parentheses.cpp [clang-tidy] misc-macro-parentheses - avoid adding parentheses in variable declarations 2016-06-08 10:30:24 +00:00
misc-macro-repeated-side-effects.c [clang-tidy] Fix misc-macro-repeated-side-effects false positive with stringified arguments 2016-04-23 00:00:08 +00:00
misc-misplaced-const.c Add the misc-misplaced-const check to clang-tidy, which diagnoses when a const-qualifier is applied to a typedef of pointer type rather than to the pointee type. 2016-06-07 17:22:47 +00:00
misc-misplaced-const.cpp Fixing a build bot issue with duplicate explicit instantiations. 2016-06-07 17:32:07 +00:00
misc-misplaced-widening-cast-explicit-only.cpp [clang-tidy] Fix 'misc-misplaced-widening-cast' assertion error. 2017-08-29 06:25:24 +00:00
misc-misplaced-widening-cast-implicit-enabled.cpp [clang-tidy] misc-misplaced-widening-cast: Disable checking of implicit widening casts by default. 2017-04-19 14:55:58 +00:00
misc-new-delete-overloads-sized-dealloc.cpp
misc-new-delete-overloads.cpp
misc-non-copyable-objects.c Change EOL style to LF. NFC 2017-05-09 14:56:28 +00:00
misc-non-copyable-objects.cpp
misc-redundant-expression.cpp [clang-tidy] Misc redundant expression checker updated for ineffective bitwise operator expressions 2017-12-20 12:22:16 +00:00
misc-sizeof-container.cpp
misc-sizeof-expression.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
misc-static-assert.c Change EOL style to LF. NFC 2017-05-09 14:56:28 +00:00
misc-static-assert.cpp [clang-tidy] Make misc-static-assert accept assert(!"msg") 2017-06-03 10:13:55 +00:00
misc-string-compare.cpp [clang-tidy] Add check 'misc-string-compare'. 2016-12-30 10:09:46 +00:00
misc-string-integer-assignment.cpp
misc-string-literal-with-embedded-nul.cpp
misc-suspicious-enum-usage-strict.cpp Fix another nondeterminism in a tidy test. 2016-12-30 09:20:10 +00:00
misc-suspicious-enum-usage.cpp [clang-tidy] SuspiciousEnumUsageCheck bugfix 2017-09-12 09:40:13 +00:00
misc-suspicious-missing-comma.cpp
misc-suspicious-semicolon-fail.cpp [clang-tidy] hasErrorOccurred() -> hasUncompilableErrorOccurred() 2017-02-08 16:11:22 +00:00
misc-suspicious-semicolon.cpp
misc-suspicious-string-compare.c [clang-tidy] Enhance misc-suspicious-string-compare to move down false-positives. 2016-04-26 16:53:21 +00:00
misc-suspicious-string-compare.cpp [clang-tidy] Enhance misc-suspicious-string-compare to move down false-positives. 2016-04-26 16:53:21 +00:00
misc-swapped-arguments.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
misc-throw-by-value-catch-by-reference.cpp [clang-tidy] Fix diag message for catch-by-value 2017-03-23 15:17:44 +00:00
misc-unconventional-assign-operator.cpp [clang-tidy] Don't delay parsing of templates in test for misc-unconventional-assign-operator 2017-02-15 16:32:55 +00:00
misc-undelegated-constructor-cxx98.cpp Change EOL style to LF. NFC 2017-05-09 14:56:28 +00:00
misc-undelegated-constructor.cpp
misc-uniqueptr-reset-release.cpp
misc-unused-alias-decls.cpp
misc-unused-parameters.c
misc-unused-parameters.cpp [clang-tidy] Fixed misc-unused-parameters omitting parameters square brackets 2017-09-15 11:28:28 +00:00
misc-unused-raii.cpp
misc-unused-using-decls-errors.cpp [clang-tidy] Fix misc-unused-using-decls false positives in presence of compile errors 2017-02-09 10:41:27 +00:00
misc-unused-using-decls.cpp [clang-tidy] Fix template agrument false positives in unused-using-decls. 2016-10-11 13:50:34 +00:00
modernize-avoid-bind.cpp [Clang-tidy]: Fix modernize-avoid-bind erroneous scope resolution. 2016-10-20 11:32:47 +00:00
modernize-deprecated-headers-cxx03.cpp [clang-tidy] minor improvements in modernise-deprecated-headers check 2016-08-10 18:01:45 +00:00
modernize-deprecated-headers-cxx11.cpp [clang-tidy] minor improvements in modernise-deprecated-headers check 2016-08-10 18:01:45 +00:00
modernize-loop-convert-assert-failure.cpp
modernize-loop-convert-basic.cpp
modernize-loop-convert-camelback.cpp
modernize-loop-convert-const.cpp
modernize-loop-convert-extra.cpp clang-tidy modernize-loop-convert: preserve type of alias declaration (bug 28341) 2016-07-20 12:32:06 +00:00
modernize-loop-convert-lowercase.cpp
modernize-loop-convert-negative.cpp
modernize-loop-convert-uppercase.cpp
modernize-loop-convert.c
modernize-make-shared-header.cpp [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-make-shared/unique checks. 2017-07-05 07:49:00 +00:00
modernize-make-shared.cpp [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-make-shared/unique checks. 2017-07-05 07:49:00 +00:00
modernize-make-unique-header.cpp [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-make-shared/unique checks. 2017-07-05 07:49:00 +00:00
modernize-make-unique-macros.cpp [clang-tidy] Ignore macros in make-unique check. 2017-08-04 11:18:00 +00:00
modernize-make-unique.cpp [clang-tidy] A follow-up fix of braced-init-list constructors in make-unique check. 2017-08-24 13:35:55 +00:00
modernize-pass-by-value-header.cpp [clang-tidy] Fix check for trivially copyable types in modernize-pass-by-value 2017-01-12 19:20:35 +00:00
modernize-pass-by-value-macro-header.cpp [clang-tidy] Fix check for trivially copyable types in modernize-pass-by-value 2017-01-12 19:20:35 +00:00
modernize-pass-by-value-multi-fixes.cpp Fix clang-tidy crash when a single fix is applied on multiple files. 2016-08-09 07:54:49 +00:00
modernize-pass-by-value.cpp [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
modernize-raw-string-literal-delimiter.cpp [clang-tidy] Don't modernize-raw-string-literal if replacement is longer. 2017-01-24 15:18:11 +00:00
modernize-raw-string-literal-replace-shorter.cpp [clang-tidy] Don't modernize-raw-string-literal if replacement is longer. 2017-01-24 15:18:11 +00:00
modernize-raw-string-literal.cpp [clang-tidy] Don't modernize-raw-string-literal if replacement is longer. 2017-01-24 15:18:11 +00:00
modernize-redundant-void-arg-delayed.cpp
modernize-redundant-void-arg.c
modernize-redundant-void-arg.cpp
modernize-replace-auto-ptr.cpp
modernize-replace-random-shuffle.cpp [clang-tidy] Fix tests for ReplaceRandomShuffleCheck 2017-11-28 13:54:52 +00:00
modernize-return-braced-init-list.cpp [clang-tidy] Fix test modernize-return-braced-init-list 2017-02-15 17:37:58 +00:00
modernize-shrink-to-fit.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
modernize-unary-static-assert.cpp [clang-tidy] Add new modernize use unary assert check 2017-07-12 13:43:35 +00:00
modernize-use-auto-cast-remove-stars.cpp [clang-tidy] Enhance modernize-use-auto to templated function casts 2016-12-15 10:19:56 +00:00
modernize-use-auto-cast.cpp [clang-tidy] Enhance modernize-use-auto to templated function casts 2016-12-15 10:19:56 +00:00
modernize-use-auto-iterator.cpp
modernize-use-auto-new-remove-stars.cpp [clang-tidy] modernize-use-auto: don't remove stars by default 2016-06-03 21:22:58 +00:00
modernize-use-auto-new.cpp [clang-tidy] Enhance modernize-use-auto to casts 2016-10-31 14:43:37 +00:00
modernize-use-bool-literals-ignore-macros.cpp [clang-tidy] Add modernize-use-bool-literals.IgnoreMacros option 2017-07-17 14:43:06 +00:00
modernize-use-bool-literals.cpp [clang-tidy] Add modernize-use-bool-literals.IgnoreMacros option 2017-07-17 14:43:06 +00:00
modernize-use-default-member-init-assignment.cpp Comment out char16_t and char32_t tests 2016-12-20 22:57:21 +00:00
modernize-use-default-member-init-macros.cpp clang-tidy: add IgnoreMacros option to modernize-use-default-member-init 2017-05-08 15:13:31 +00:00
modernize-use-default-member-init.cpp [clang-tidy] Handle anonymous structs/unions in member init checks. 2017-08-01 09:54:05 +00:00
modernize-use-emplace-ignore-implicit-constructors.cpp [clang-tidy] Add modernize-use-emplace.IgnoreImplicitConstructors option 2017-08-10 12:19:05 +00:00
modernize-use-emplace.cpp [clang-tidy] modernize-use-emplace: Remove unnecessary make_tuple calls 2017-05-16 06:32:38 +00:00
modernize-use-equals-default-copy.cpp [clang-tidy] Add modernize-use-equals-default.IgnoreMacros option 2017-08-17 23:07:59 +00:00
modernize-use-equals-default-delayed.cpp [clang-tidy] Rename modernize-use-default to modernize-use-equals-default 2016-12-01 17:24:42 +00:00
modernize-use-equals-default-macros.cpp [clang-tidy] Add modernize-use-equals-default.IgnoreMacros option 2017-08-17 23:07:59 +00:00
modernize-use-equals-default.cpp [clang-tidy] Add modernize-use-equals-default.IgnoreMacros option 2017-08-17 23:07:59 +00:00
modernize-use-equals-delete.cpp [clang-tidy] Ignore private =deleted methods in macros. 2017-05-08 14:17:27 +00:00
modernize-use-noexcept-macro.cpp [clang-tidy] Use -fexceptions explicitly in the tests that need exceptions. 2017-06-08 22:25:23 +00:00
modernize-use-noexcept-opt.cpp [clang-tidy] Use -fexceptions explicitly in the tests that need exceptions. 2017-06-08 22:25:23 +00:00
modernize-use-noexcept.cpp [clang-tidy] Use -fexceptions explicitly in the tests that need exceptions. 2017-06-08 22:25:23 +00:00
modernize-use-nullptr-basic.cpp
modernize-use-nullptr.c
modernize-use-nullptr.cpp [clang-tidy] Fix modernize-use-nullptr only warns the first NULL argument. 2017-06-29 08:43:36 +00:00
modernize-use-override-cxx98.cpp
modernize-use-override-ms.cpp
modernize-use-override.cpp [clang-tidy] Fix modernize-use-override incorrect replacement 2017-07-07 10:15:24 +00:00
modernize-use-transparent-functors.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
modernize-use-using-macros.cpp [clang-tidy] A couple of minor fixes in modernize-use-using tests 2017-04-07 09:41:27 +00:00
modernize-use-using.cpp [clang-tidy] A couple of minor fixes in modernize-use-using tests 2017-04-07 09:41:27 +00:00
mpi-buffer-deref.cpp [clang-tidy] MPIBufferDerefCheck 2016-08-12 19:30:31 +00:00
mpi-type-mismatch.cpp [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
nolint.cpp Add support for NOLINT and NOLINTNEXTLINE comments mentioning specific check names. 2017-12-14 16:13:57 +00:00
nolintnextline.cpp Add support for NOLINT and NOLINTNEXTLINE comments mentioning specific check names. 2017-12-14 16:13:57 +00:00
nonstandard-file-extension.test New -assume-filename=param to check_clang_tidy.py (like clang-format) 2017-10-18 07:48:40 +00:00
objc-arc-and-properties.m [clang-tidy] Add missing test files in r316090. 2017-10-20 17:54:53 +00:00
objc-avoid-nserror-init.m add new check to find NSError init invocation 2017-11-30 19:05:08 +00:00
objc-avoid-spinlock.m add new check to find OSSpinlock usage 2017-11-27 21:30:10 +00:00
objc-forbidden-subclassing-custom.m [clang-tidy ObjC] [3/3] New check objc-forbidden-subclassing 2017-10-27 07:41:36 +00:00
objc-forbidden-subclassing.m [clang-tidy ObjC] [3/3] New check objc-forbidden-subclassing 2017-10-27 07:41:36 +00:00
objc-no-arc-or-properties.m [clang-tidy] Add missing test files in r316090. 2017-10-20 17:54:53 +00:00
objc-property-declaration-custom.m add new check for property declaration 2017-11-13 23:54:31 +00:00
objc-property-declaration.m add ID as a special acronym to objc property declaration check for property names like bundleID.allow using acronyms as suffix. 2018-01-17 00:19:35 +00:00
overlapping.cpp
performance-faster-string-find.cpp
performance-for-range-copy-warn-on-all-auto-copies.cpp
performance-for-range-copy.cpp
performance-implicit-conversion-in-loop.cpp [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
performance-inefficient-algorithm.cpp [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
performance-inefficient-string-concatenation.cpp [clang-tidy] Added clang-tidy test cases related to rL310095 2017-08-04 19:01:56 +00:00
performance-inefficient-vector-operation.cpp [clang-tidy] Add "emplace_back" detection in inefficient-vector-operation. 2017-05-16 10:39:55 +00:00
performance-move-const-arg-trivially-copyable.cpp [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
performance-move-const-arg.cpp [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
performance-move-constructor-init.cpp [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
performance-noexcept-move-constructor.cpp [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
performance-type-promotion-in-math-fn.cpp [clang-tidy] Suggest including <cmath> if necessary in type-promotion-in-math-fn-check. 2016-12-14 06:52:23 +00:00
performance-unnecessary-copy-initialization.cpp [clang-tidy] Don't warn implicit variables in peformance-unnecessary-copy-initialization. 2016-11-08 00:45:34 +00:00
performance-unnecessary-value-param-delayed.cpp [clang-tidy] Handle constructors in performance-unnecessary-value-param 2017-01-03 12:10:44 +00:00
performance-unnecessary-value-param-header.cpp clang-tools-extra/test/clang-tidy/performance-unnecessary-value-param-header.cpp: Resolve flakiness in the test. 2017-07-13 02:06:30 +00:00
performance-unnecessary-value-param-incomplete-type.cpp [clang-tidy] Move incomplete type test into separate test file 2016-11-07 21:45:58 +00:00
performance-unnecessary-value-param.cpp [clang-tidy] Do not issue fixit for explicit template specializations 2017-07-26 00:45:41 +00:00
readability-avoid-const-params-in-decls.cpp [clang-tidy] readability-avoid-const-params-in-decls template instantiation bugfix 2016-10-11 12:02:16 +00:00
readability-braces-around-statements-assert-failure.cpp
readability-braces-around-statements-few-lines.cpp
readability-braces-around-statements-format.cpp [clang-tidy] Format code around applied fixes 2017-03-03 11:16:34 +00:00
readability-braces-around-statements-same-line.cpp
readability-braces-around-statements-single-line.cpp
readability-braces-around-statements.cpp [clang-tidy] Enable test for http://llvm.org/PR26228 2017-08-10 12:24:52 +00:00
readability-container-size-empty.cpp Extend readability-container-size-empty to add comparisons to empty-state objects. 2017-04-24 14:57:09 +00:00
readability-delete-null-pointer.cpp [clang-tidy] Fix for bug 31838: readability-delete-null-pointer does not work for class members 2017-02-12 20:09:59 +00:00
readability-deleted-default.cpp
readability-else-after-return.cpp [clang-tidy] Ignore ExprWithCleanups when looking for else-after-throw 2017-11-28 14:57:47 +00:00
readability-function-size.cpp [clang-tidy] readability-function-size: fix nesting level calculation 2017-06-16 13:07:47 +00:00
readability-identifier-naming.cpp [clang-tidy] Correctly classify constant arrays and constant strings as constants when checking identifiers naming 2017-12-11 19:02:26 +00:00
readability-implicit-bool-conversion-allow-in-conditions.cpp [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
readability-implicit-bool-conversion-cxx98.cpp [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
readability-implicit-bool-conversion.cpp [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
readability-inconsistent-declaration-parameter-name-macros.cpp clang-tidy: add IgnoreMacros option to readability-inconsistent-declaration-parameter-name 2018-01-05 23:22:10 +00:00
readability-inconsistent-declaration-parameter-name.cpp clang-tidy: add IgnoreMacros option to readability-inconsistent-declaration-parameter-name 2018-01-05 23:22:10 +00:00
readability-misleading-indentation.cpp [clang-tidy] Added a test with a different format. 2017-03-17 10:05:49 +00:00
readability-misplaced-array-index.cpp [clang-tidy] readability-misplaced-array-index: add new check that warns when array index is misplaced. 2016-09-12 12:04:13 +00:00
readability-named-parameter.cpp
readability-non-const-parameter.cpp [clang-tidy] readability-non-const-parameter fixes should update all declarations 2017-11-27 12:42:04 +00:00
readability-redundant-control-flow.cpp [clang-tidy] Bugfix for readability-redundant-control-flow check 2016-09-16 10:12:08 +00:00
readability-redundant-declaration-ignore-macros.cpp [clang-tidy] readability-redundant-declaration: ignore friends and macros 2017-07-28 12:46:02 +00:00
readability-redundant-declaration.cpp [clang-tidy] readability-redundant-declaration: ignore friends and macros 2017-07-28 12:46:02 +00:00
readability-redundant-function-ptr-dereference.cpp [clang-tidy] Expand readability-redundant-function-ptr-dereference test 2017-07-28 12:46:08 +00:00
readability-redundant-member-init.cpp [clang-tidy] Handle anonymous structs/unions in member init checks. 2017-08-01 09:54:05 +00:00
readability-redundant-smartptr-get.cpp [clang-tidy] Expand readability-redundant-smartptr-get to understand implicit converions to bool in more contexts. 2018-01-15 18:03:20 +00:00
readability-redundant-string-cstr-msvc.cpp [clang-tidy] Handle data() in readability-redundant-string-cstr 2016-11-03 12:56:48 +00:00
readability-redundant-string-cstr.cpp [clang-tidy] Handle data() in readability-redundant-string-cstr 2016-11-03 12:56:48 +00:00
readability-redundant-string-init-msvc.cpp
readability-redundant-string-init.cpp
readability-simplify-bool-expr-chained-conditional-assignment.cpp
readability-simplify-bool-expr-chained-conditional-return.cpp
readability-simplify-bool-expr.cpp [clang-tidy] make readability-simplify-bool-expr completely ignore macros 2017-11-29 17:16:09 +00:00
readability-static-accessed-through-instance-nesting-threshold.cpp [clang-tidy] Add new readability non-idiomatic static access check 2017-08-08 15:33:48 +00:00
readability-static-accessed-through-instance.cpp [clang-tidy] Fix a check-fixes line 2017-08-10 09:29:39 +00:00
readability-static-definition-in-anonymous-namespace.cpp
readability-uniqueptr-delete-release.cpp [clang-tidy] Added clang-tidy test cases related to rL310095 2017-08-04 19:01:56 +00:00
select-checks.cpp
serialize-diagnostics.cpp
static-analyzer-config.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
static-analyzer.cpp Remove mentions of clang-analyzer-alpha 2016-11-08 18:12:56 +00:00
temporaries.cpp
validate-check-names.cpp
werrors-diagnostics.cpp [clang-tidy] Add -quiet option to suppress extra output 2017-02-09 18:32:02 +00:00
werrors-plural.cpp [clang-tidy] Add -quiet option to suppress extra output 2017-02-09 18:32:02 +00:00
werrors.cpp [clang-tidy] Add -quiet option to suppress extra output 2017-02-09 18:32:02 +00:00