llvm-project/clang-tools-extra/docs/clang-tidy/checks
Paul Hoad d74c055fe6 Revert "[clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present"
This reverts commit b358cbb9b78389e20f7be36e1a98e26515c3ecce.

llvm-svn: 356030
2019-03-13 08:15:03 +00:00
..
abseil-duration-addition.rst [clang-tidy] Add the abseil-duration-addition check 2019-01-28 14:03:09 +00:00
abseil-duration-comparison.rst [clang-tidy] Recommit: Add the abseil-duration-comparison check 2018-12-03 19:22:08 +00:00
abseil-duration-conversion-cast.rst [clang-tidy] Add abseil-duration-conversion-cast check 2019-01-17 20:37:35 +00:00
abseil-duration-division.rst [clang-tidy] Add missing check documentation. 2018-08-17 19:50:22 +00:00
abseil-duration-factory-float.rst [clang-tidy] Add the abseil-duration-factory-float check 2018-10-24 17:40:50 +00:00
abseil-duration-factory-scale.rst Add the abseil-duration-factory-scale check. 2018-11-18 16:41:06 +00:00
abseil-duration-subtraction.rst [clang-tidy] tryfix documenation continued 2019-02-28 15:28:36 +00:00
abseil-duration-unnecessary-conversion.rst [clang-tidy] Add the abseil-duration-unnecessary-conversion check 2019-02-04 19:28:20 +00:00
abseil-faster-strsplit-delimiter.rst [clang-tidy] Abseil: faster strsplit delimiter check 2018-08-22 13:58:25 +00:00
abseil-no-internal-dependencies.rst [clang-tidy] Add abseil-no-internal-dependencies check 2018-08-29 14:23:15 +00:00
abseil-no-namespace.rst [clang-tidy] Abseil: no namepsace check 2018-08-28 07:48:28 +00:00
abseil-redundant-strcat-calls.rst Introduce the abseil-redundant-strcat-calls check. 2018-08-29 11:29:07 +00:00
abseil-str-cat-append.rst [clang-tidy] Fix typo abls->absl. 2018-10-22 22:43:17 +00:00
abseil-string-find-startswith.rst [clang-tidy] Add check: replace string::find(...) == 0 with absl::StartsWith 2018-03-09 10:47:14 +00:00
abseil-time-comparison.rst [clang-tidy] Add the abseil-time-compare check 2019-03-11 16:47:45 +00:00
abseil-time-subtraction.rst [clang-tidy] documentation fixing the actual correct file 2019-02-28 15:39:47 +00:00
abseil-upgrade-duration-conversions.rst [clang-tidy]: Abseil: new check 'abseil-upgrade-duration-conversions' 2018-12-07 20:03:03 +00:00
android-cloexec-accept.rst
android-cloexec-accept4.rst
android-cloexec-creat.rst
android-cloexec-dup.rst
android-cloexec-epoll-create.rst
android-cloexec-epoll-create1.rst
android-cloexec-fopen.rst
android-cloexec-inotify-init.rst
android-cloexec-inotify-init1.rst
android-cloexec-memfd-create.rst
android-cloexec-open.rst
android-cloexec-socket.rst
android-comparison-in-temp-failure-retry.rst [clang-tidy] Add a `android-comparison-in-temp-failure-retry` check 2018-04-10 21:22:22 +00:00
boost-use-to-string.rst [clang-tidy] doc removew hitespace in front of code-block-line 2018-11-05 22:21:27 +00:00
bugprone-argument-comment.rst [clang-tidy] Add options to bugprone-argument-comment to add missing argument comments to literals 2019-02-08 17:00:01 +00:00
bugprone-assert-side-effect.rst
bugprone-bool-pointer-implicit-conversion.rst
bugprone-copy-constructor-init.rst
bugprone-dangling-handle.rst
bugprone-exception-escape.rst [clang-tidy] Optimize query in bugprone-exception-escape 2018-10-13 10:34:52 +00:00
bugprone-fold-init-type.rst
bugprone-forward-declaration-namespace.rst
bugprone-forwarding-reference-overload.rst [clang-tidy] doc removew hitespace in front of code-block-line 2018-11-05 22:21:27 +00:00
bugprone-inaccurate-erase.rst
bugprone-incorrect-roundings.rst clang-tidy/rename_check.py misc-incorrect-roundings bugprone-incorrect-roundings 2018-01-30 15:12:24 +00:00
bugprone-integer-division.rst
bugprone-lambda-function-name.rst Rename a few checks from misc- to bugprone-. 2018-02-28 14:47:20 +00:00
bugprone-macro-parentheses.rst [clang-tidy] rename_check.py {misc,bugprone}-macro-parentheses 2018-03-15 08:25:39 +00:00
bugprone-macro-repeated-side-effects.rst Rename a few checks from misc- to bugprone-. 2018-02-28 14:47:20 +00:00
bugprone-misplaced-operator-in-strlen-in-alloc.rst
bugprone-misplaced-widening-cast.rst Rename a few checks from misc- to bugprone-. 2018-02-28 14:47:20 +00:00
bugprone-move-forwarding-reference.rst [clang-tidy] doc removew hitespace in front of code-block-line 2018-11-05 22:21:27 +00:00
bugprone-multiple-statement-macro.rst
bugprone-parent-virtual-call.rst [doc] Fix svn property for bugprone-parent-virtual-call.rst 2019-01-23 06:46:27 +00:00
bugprone-sizeof-container.rst [clang-tidy] rename_check.py misc-sizeof-container bugprone-sizeof-container 2018-03-15 08:26:47 +00:00
bugprone-sizeof-expression.rst [clang-tidy] Check for sizeof that call functions 2018-04-03 15:10:24 +00:00
bugprone-string-constructor.rst
bugprone-string-integer-assignment.rst Rename more checks from misc- to bugprone-. 2018-02-28 23:30:29 +00:00
bugprone-string-literal-with-embedded-nul.rst Rename more checks from misc- to bugprone-. 2018-02-28 23:30:29 +00:00
bugprone-suspicious-enum-usage.rst Rename more checks from misc- to bugprone-. 2018-02-28 23:30:29 +00:00
bugprone-suspicious-memset-usage.rst
bugprone-suspicious-missing-comma.rst Rename more checks from misc- to bugprone-. 2018-02-28 23:30:29 +00:00
bugprone-suspicious-semicolon.rst [clang-tidy] doc removew hitespace in front of code-block-line 2018-11-05 22:21:27 +00:00
bugprone-suspicious-string-compare.rst [clang-tidy] Another batch of checks to rename from misc- to bugprone-. 2018-02-28 23:47:15 +00:00
bugprone-swapped-arguments.rst [clang-tidy] Another batch of checks to rename from misc- to bugprone-. 2018-02-28 23:47:15 +00:00
bugprone-terminating-continue.rst [clang-tidy] Add terminating continue check 2018-05-14 10:10:02 +00:00
bugprone-throw-keyword-missing.rst [clang-tidy] Minor documentation fix 2018-02-15 09:19:23 +00:00
bugprone-too-small-loop-variable.rst [clang-tidy] new check: bugprone-too-small-loop-variable 2018-11-12 16:01:39 +00:00
bugprone-undefined-memory-manipulation.rst
bugprone-undelegated-constructor.rst [clang-tidy] Another batch of checks to rename from misc- to bugprone-. 2018-02-28 23:47:15 +00:00
bugprone-unused-raii.rst [clang-tidy] rename_check.py misc-unused-raii bugprone-unused-raii --check_class_name=UnusedRAIICheck 2018-03-15 08:27:42 +00:00
bugprone-unused-return-value.rst [clang-tidy] Improve bugprone-unused-return-value check 2018-04-24 21:25:16 +00:00
bugprone-use-after-move.rst [clang-tidy] doc removew hitespace in front of code-block-line 2018-11-05 22:21:27 +00:00
bugprone-virtual-near-miss.rst
cert-dcl03-c.rst
cert-dcl16-c.rst [clang-tidy] Re-commit: Add new 'readability-uppercase-literal-suffix' check (CERT DCL16-C, MISRA C:2012, 7.3, MISRA C++:2008, 2-13-4) 2018-10-26 13:09:27 +00:00
cert-dcl21-cpp.rst
cert-dcl50-cpp.rst
cert-dcl54-cpp.rst
cert-dcl58-cpp.rst
cert-dcl59-cpp.rst
cert-env33-c.rst
cert-err09-cpp.rst
cert-err34-c.rst
cert-err52-cpp.rst
cert-err58-cpp.rst
cert-err60-cpp.rst
cert-err61-cpp.rst
cert-fio38-c.rst
cert-flp30-c.rst
cert-msc30-c.rst
cert-msc32-c.rst Add the cert-msc51-cpp and cert-msc32-c checks. 2018-07-05 01:16:31 +00:00
cert-msc50-cpp.rst
cert-msc51-cpp.rst Adding some documentation changes that were missed in r336301. 2018-07-05 01:35:49 +00:00
cert-oop11-cpp.rst
cppcoreguidelines-avoid-c-arrays.rst [clang-tidy] Avoid C arrays check 2018-11-14 09:01:08 +00:00
cppcoreguidelines-avoid-goto.rst
cppcoreguidelines-avoid-magic-numbers.rst Add a new check to the readability module that flags uses of "magic numbers" (both floating-point and integral). 2018-08-12 14:35:13 +00:00
cppcoreguidelines-c-copy-assignment-signature.rst
cppcoreguidelines-explicit-virtual-functions.rst [clang-tidy] include cppcoreguidelines-explicit-virtual-functions in list of checks and fix redirection 2019-02-28 15:47:10 +00:00
cppcoreguidelines-interfaces-global-init.rst
cppcoreguidelines-macro-usage.rst [clang-tidy] cppcoreguidelines-macro-usage: print macro names 2018-10-30 15:52:36 +00:00
cppcoreguidelines-narrowing-conversions.rst [Documentation] Try to fix build failure in cppcoreguidelines-narrowing-conversions documentation 2018-11-29 02:13:25 +00:00
cppcoreguidelines-no-malloc.rst
cppcoreguidelines-non-private-member-variables-in-classes.rst [clang-tidy] Non-private member variables in classes (MISRA, CppCoreGuidelines, HICPP) 2018-10-18 20:16:44 +00:00
cppcoreguidelines-owning-memory.rst
cppcoreguidelines-pro-bounds-array-to-pointer-decay.rst
cppcoreguidelines-pro-bounds-constant-array-index.rst
cppcoreguidelines-pro-bounds-pointer-arithmetic.rst
cppcoreguidelines-pro-type-const-cast.rst
cppcoreguidelines-pro-type-cstyle-cast.rst
cppcoreguidelines-pro-type-member-init.rst
cppcoreguidelines-pro-type-reinterpret-cast.rst
cppcoreguidelines-pro-type-static-cast-downcast.rst
cppcoreguidelines-pro-type-union-access.rst
cppcoreguidelines-pro-type-vararg.rst
cppcoreguidelines-slicing.rst
cppcoreguidelines-special-member-functions.rst [clang-tidy] fix example code-blocks indendation 2018-11-05 22:30:17 +00:00
fuchsia-default-arguments.rst
fuchsia-header-anon-namespaces.rst [clang-tidy] Adding alias for anon namespaces in header (fuchsia module) 2018-04-10 16:53:51 +00:00
fuchsia-multiple-inheritance.rst
fuchsia-overloaded-operator.rst
fuchsia-restrict-system-includes.rst Reland "[clang-tidy] Adding RestrictSystemIncludes check to Fuchsia module" 2018-05-11 21:08:59 +00:00
fuchsia-statically-constructed-objects.rst
fuchsia-trailing-return.rst [Documentation] Split Clang-tidy changes in Release Notes into sections: new checks, new aliases, renamed checks; sort all of them alphabetically. Enforce 80 characters line length limit. Highlight C++ keywords. 2018-02-28 19:15:49 +00:00
fuchsia-virtual-inheritance.rst
google-build-explicit-make-pair.rst
google-build-namespaces.rst [clang-tidy] Adding alias for anon namespaces in header (fuchsia module) 2018-04-10 16:53:51 +00:00
google-build-using-namespace.rst [clang-tidy] doc removew hitespace in front of code-block-line 2018-11-05 22:21:27 +00:00
google-default-arguments.rst
google-explicit-constructor.rst
google-global-names-in-headers.rst
google-objc-avoid-throwing-exception.rst [Documentation] Use HTTPS whenever possible. 2019-01-22 19:19:48 +00:00
google-objc-function-naming.rst [clang-tidy/checks] Implement a clang-tidy check to verify Google Objective-C function naming conventions 📜 2018-11-17 02:37:21 +00:00
google-objc-global-variable-declaration.rst [Documentation] Use HTTPS whenever possible. 2019-01-22 19:19:48 +00:00
google-readability-avoid-underscore-in-googletest-name.rst [clang-tidy] Add check for underscores in googletest names. 2019-01-25 10:03:49 +00:00
google-readability-braces-around-statements.rst
google-readability-casting.rst
google-readability-function-size.rst
google-readability-namespace-comments.rst
google-readability-todo.rst
google-runtime-int.rst
google-runtime-operator.rst
google-runtime-references.rst
hicpp-avoid-c-arrays.rst [clang-tidy] Avoid C arrays check 2018-11-14 09:01:08 +00:00
hicpp-avoid-goto.rst
hicpp-braces-around-statements.rst
hicpp-deprecated-headers.rst
hicpp-exception-baseclass.rst
hicpp-explicit-conversions.rst
hicpp-function-size.rst
hicpp-invalid-access-moved.rst
hicpp-member-init.rst
hicpp-move-const-arg.rst
hicpp-multiway-paths-covered.rst [clang-tidy] Resubmit hicpp-multiway-paths-covered without breaking test 2018-03-21 15:34:15 +00:00
hicpp-named-parameter.rst
hicpp-new-delete-operators.rst
hicpp-no-array-decay.rst
hicpp-no-assembler.rst
hicpp-no-malloc.rst
hicpp-noexcept-move.rst
hicpp-signed-bitwise.rst
hicpp-special-member-functions.rst
hicpp-static-assert.rst
hicpp-undelegated-constructor.rst [clang-tidy] Another batch of checks to rename from misc- to bugprone-. 2018-02-28 23:47:15 +00:00
hicpp-uppercase-literal-suffix.rst [clang-tidy] Re-commit: Add new 'readability-uppercase-literal-suffix' check (CERT DCL16-C, MISRA C:2012, 7.3, MISRA C++:2008, 2-13-4) 2018-10-26 13:09:27 +00:00
hicpp-use-auto.rst
hicpp-use-emplace.rst
hicpp-use-equals-default.rst
hicpp-use-equals-delete.rst
hicpp-use-noexcept.rst
hicpp-use-nullptr.rst
hicpp-use-override.rst
hicpp-vararg.rst
list.rst [clang-tidy] Add the abseil-time-compare check 2019-03-11 16:47:45 +00:00
llvm-header-guard.rst
llvm-include-order.rst [Documentation] Use HTTPS whenever possible. 2019-01-22 19:19:48 +00:00
llvm-namespace-comment.rst [Documentation] Use HTTPS whenever possible. 2019-01-22 19:19:48 +00:00
llvm-twine-local.rst
misc-definitions-in-headers.rst [clang-tidy] tweak "misc-definitions-in-headers" doc, NFC. 2018-02-05 13:04:41 +00:00
misc-misplaced-const.rst
misc-new-delete-overloads.rst
misc-non-copyable-objects.rst
misc-non-private-member-variables-in-classes.rst [clang-tidy] misc-non-private-member-variables-in-classes: ignore implicit methods 2019-01-20 14:28:27 +00:00
misc-redundant-expression.rst
misc-static-assert.rst
misc-throw-by-value-catch-by-reference.rst
misc-unconventional-assign-operator.rst
misc-uniqueptr-reset-release.rst
misc-unused-alias-decls.rst
misc-unused-parameters.rst [clang-tidy] misc-unused-parameters - retain old behavior under StrictMode 2018-06-28 15:21:25 +00:00
misc-unused-using-decls.rst
modernize-avoid-bind.rst
modernize-avoid-c-arrays.rst [clang-tidy] modernize-avoid-c-arrays: avoid main function (PR40604) 2019-02-06 19:17:30 +00:00
modernize-concat-nested-namespaces.rst [clang-tidy] Add modernize-concat-nested-namespaces check 2018-09-25 18:12:28 +00:00
modernize-deprecated-headers.rst
modernize-deprecated-ios-base-aliases.rst [Documentation] Rephrase modernize-deprecated-ios-base-aliases description. Add clangd and clang-doc placeholders in Release Notes. 2018-10-11 21:40:32 +00:00
modernize-loop-convert.rst
modernize-make-shared.rst
modernize-make-unique.rst
modernize-pass-by-value.rst [Documentation] Use HTTPS whenever possible. 2019-01-22 19:19:48 +00:00
modernize-raw-string-literal.rst
modernize-redundant-void-arg.rst
modernize-replace-auto-ptr.rst [clang-tidy] doc removew hitespace in front of code-block-line 2018-11-05 22:21:27 +00:00
modernize-replace-random-shuffle.rst
modernize-return-braced-init-list.rst
modernize-shrink-to-fit.rst
modernize-unary-static-assert.rst
modernize-use-auto.rst [clang-tidy] This patch is a fix for D45405 where spaces were mistakenly considered as a part of a type name. So length("int *") was 5 instead of 3 with RemoveStars=0 or 4 with RemoveStars=1 2018-06-15 13:35:40 +00:00
modernize-use-bool-literals.rst
modernize-use-default-member-init.rst
modernize-use-default.rst
modernize-use-emplace.rst [Documentation] Use HTTPS whenever possible. 2019-01-22 19:19:48 +00:00
modernize-use-equals-default.rst
modernize-use-equals-delete.rst [clang-tidy] add IgnoreMacros option to modernize-use-equals-delete 2018-10-13 07:58:05 +00:00
modernize-use-nodiscard.rst [clang-tidy] another take at fixing doc 2019-01-09 21:27:59 +00:00
modernize-use-noexcept.rst
modernize-use-nullptr.rst
modernize-use-override.rst [clang-tidy] add OverrideMacro to modernize-use-override check 2019-02-28 20:00:48 +00:00
modernize-use-transparent-functors.rst [clang-tidy] doc removew hitespace in front of code-block-line 2018-11-05 22:21:27 +00:00
modernize-use-uncaught-exceptions.rst [Documentation] Split Clang-tidy changes in Release Notes into sections: new checks, new aliases, renamed checks; sort all of them alphabetically. Enforce 80 characters line length limit. Highlight C++ keywords. 2018-02-28 19:15:49 +00:00
modernize-use-using.rst
mpi-buffer-deref.rst
mpi-type-mismatch.rst
objc-avoid-nserror-init.rst
objc-avoid-spinlock.rst
objc-forbidden-subclassing.rst
objc-property-declaration.rst [clang-tidy] Delete obsolete objc-property-declaration options ✂️ 2019-02-16 04:27:12 +00:00
performance-faster-string-find.rst
performance-for-range-copy.rst [clang-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy 2018-10-12 13:05:21 +00:00
performance-implicit-cast-in-loop.rst
performance-implicit-conversion-in-loop.rst
performance-inefficient-algorithm.rst
performance-inefficient-string-concatenation.rst
performance-inefficient-vector-operation.rst
performance-move-const-arg.rst
performance-move-constructor-init.rst
performance-noexcept-move-constructor.rst
performance-type-promotion-in-math-fn.rst
performance-unnecessary-copy-initialization.rst [clang-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy 2018-10-12 13:05:21 +00:00
performance-unnecessary-value-param.rst [clang-tidy] White List Option for performance-unnecessary-value-param, performance-unnecessary-copy-initialization and performance-for-range-copy 2018-10-12 13:05:21 +00:00
portability-simd-intrinsics.rst [Documentation] Use HTTPS whenever possible. 2019-01-22 19:19:48 +00:00
readability-avoid-const-params-in-decls.rst
readability-braces-around-statements.rst
readability-const-return-type.rst Implement the readability-const-return-type check. 2018-10-31 19:11:38 +00:00
readability-container-size-empty.rst
readability-delete-null-pointer.rst
readability-deleted-default.rst
readability-else-after-return.rst [Documentation] Use HTTPS whenever possible. 2019-01-22 19:19:48 +00:00
readability-function-size.rst [clang-tidy] readability-function-size: add VariableThreshold param. 2018-04-12 12:06:42 +00:00
readability-identifier-naming.rst Revert "[clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present" 2019-03-13 08:15:03 +00:00
readability-implicit-bool-cast.rst
readability-implicit-bool-conversion.rst [clang-tidy] Ignore bool -> single bit bitfield conversion in readability-implicit-bool-conversion 2018-11-27 16:23:39 +00:00
readability-inconsistent-declaration-parameter-name.rst [clang-tidy] readability-inconsistent-declaration-parameter-name: accept approximate name matches. 2018-07-13 11:41:56 +00:00
readability-isolate-declaration.rst [clang-tidy] new check 'readability-isolate-declaration' 2018-10-31 16:50:44 +00:00
readability-magic-numbers.rst [Documentation] Use HTTPS whenever possible. 2019-01-22 19:19:48 +00:00
readability-misleading-indentation.rst
readability-misplaced-array-index.rst
readability-named-parameter.rst
readability-non-const-parameter.rst
readability-redundant-control-flow.rst
readability-redundant-declaration.rst
readability-redundant-function-ptr-dereference.rst
readability-redundant-member-init.rst
readability-redundant-preprocessor.rst [clang-tidy] new check 'readability-redundant-preprocessor' 2019-01-11 07:59:47 +00:00
readability-redundant-smartptr-get.rst [clang-tidy] add IgnoreMacros option to readability-redundant-smartptr-get 2018-10-21 19:16:25 +00:00
readability-redundant-string-cstr.rst
readability-redundant-string-init.rst
readability-simplify-boolean-expr.rst
readability-simplify-subscript-expr.rst Add a new check, readability-simplify-subscript-expr, that diagnoses array subscript expressions that can be simplified. 2018-05-16 20:12:06 +00:00
readability-static-accessed-through-instance.rst
readability-static-definition-in-anonymous-namespace.rst
readability-string-compare.rst
readability-uniqueptr-delete-release.rst
readability-uppercase-literal-suffix.rst [clang-tidy] add IgnoreMacros option to readability-uppercase-literal-suffix 2018-12-24 17:47:32 +00:00
zircon-temporary-objects.rst [clang-tidy] Add Zircon module to clang-tidy 2018-03-14 23:47:50 +00:00