llvm-project/clang-tools-extra/docs/clang-tidy/checks
Hyrum Wright 35cb7e9fe8 [clang-tidy] Add the abseil-duration-subtraction check
Summary:
This check uses the context of a subtraction expression as well as knowledge
about the Abseil Time types, to infer the type of the second operand of some
subtraction expressions in Duration conversions. For example:

   absl::ToDoubleSeconds(duration) - foo

can become
   absl::ToDoubleSeconds(duration - absl::Seconds(foo))

This ensures that time calculations are done in the proper domain, and also
makes it easier to further deduce the types of the second operands to these
expressions.

Reviewed By: JonasToth

Tags: #clang-tools-extra

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

llvm-svn: 349073
2018-12-13 19:23:52 +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-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] Add the abseil-duration-subtraction check 2018-12-13 19:23:52 +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-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 [clang-tidy] Add a close-on-exec check on accept() in Android module. 2017-08-16 17:18:16 +00:00
android-cloexec-accept4.rst [clang-tidy] Add a close-on-exec check on accept4() in Android module. 2017-08-16 17:46:18 +00:00
android-cloexec-creat.rst [clang-tidy][Part2] Add a new module Android and three new checks 2017-06-29 17:40:57 +00:00
android-cloexec-dup.rst [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.rst [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.rst [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.rst [clang-tidy][Part3] Add a new module Android and three new checks. 2017-06-29 17:42:23 +00:00
android-cloexec-inotify-init.rst [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.rst [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.rst [clang-tidy] Fix for buildbot. 2017-08-10 22:09:22 +00:00
android-cloexec-open.rst [clang-tidy] Rename android-file-open-flag and fix a bug 2017-06-29 19:13:29 +00:00
android-cloexec-socket.rst [clang-tidy] Add a new Android check "android-cloexec-socket" 2017-07-12 17:43:36 +00:00
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] rename_check.py misc-argument-comment bugprone-argument-comment 2017-11-23 17:02:48 +00:00
bugprone-assert-side-effect.rst [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-bool-pointer-implicit-conversion.rst [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-copy-constructor-init.rst [clang-tidy] Add a check for undelegated copy of base classes 2017-11-17 12:23:30 +00:00
bugprone-dangling-handle.rst [clang-tidy] rename_check.py misc-dangling-handle bugprone-dangling-handle 2017-11-24 09:52:05 +00:00
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 [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-forward-declaration-namespace.rst [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
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 [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
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 [clang-tidy] Add integer division check 2017-08-10 13:30:30 +00:00
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 [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-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 [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-parent-virtual-call.rst [clang-tidy] Check if grand-..parent's virtual method was called instead of overridden parent's. 2018-04-06 20:02:50 +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 [clang-tidy] rename_check.py misc-string-constructor bugprone-string-constructor 2017-11-23 13:49:14 +00:00
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 [clang-tidy] Add bugprone-suspicious-memset-usage check 2017-07-14 12:15:55 +00:00
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 [clang-tidy] Minor documentation fix. NFC. 2017-07-14 12:31:21 +00:00
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 [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
cert-dcl03-c.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
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 [clang-tidy] Add new cert-dcl21-cpp check 2017-05-10 11:16:55 +00:00
cert-dcl50-cpp.rst Renaming CERT documentation files to use the CERT rule identifiers. This is for consistency with other checkers, where the documentation file name matches the checker name. NFC of the checkers. 2015-12-27 19:14:55 +00:00
cert-dcl54-cpp.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cert-dcl58-cpp.rst [clang-tidy] Add cert-dcl58-cpp (do not modify the 'std' namespace) check. 2017-02-17 08:52:51 +00:00
cert-dcl59-cpp.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cert-env33-c.rst Add a new check, cert-env33-c, that diagnoses uses of system(), popen(), and _popen() to execute a command processor. This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=2130132 2016-02-22 16:01:06 +00:00
cert-err09-cpp.rst [clang-tidy] Add cert-err09-cpp check alias. 2016-10-19 14:28:19 +00:00
cert-err34-c.rst Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
cert-err52-cpp.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
cert-err58-cpp.rst [clang-tidy] Update cert-err58-cpp to match its new generalised form. 2016-10-31 22:47:04 +00:00
cert-err60-cpp.rst Renaming CERT documentation files to use the CERT rule identifiers. This is for consistency with other checkers, where the documentation file name matches the checker name. NFC of the checkers. 2015-12-27 19:14:55 +00:00
cert-err61-cpp.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cert-fio38-c.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cert-flp30-c.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
cert-msc30-c.rst [clang-tidy] Add missing meta refresh for cert-msc30-c doc. NFC 2016-11-10 16:19:17 +00:00
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 [Documentation] Fix Clang-tidy misc-use-after-move and cert-msc50-cpp style and misspelling. 2016-11-02 18:23:52 +00:00
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 [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
cppcoreguidelines-avoid-c-arrays.rst [clang-tidy] Avoid C arrays check 2018-11-14 09:01:08 +00:00
cppcoreguidelines-avoid-goto.rst [clang-tidy] implement check for goto 2018-01-17 10:27:41 +00:00
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 [clang-tidy] Fix an error in the doc. 2017-08-10 10:15:48 +00:00
cppcoreguidelines-interfaces-global-init.rst [clang-tidy] cppcoreguidelines-interfaces-global-init 2016-04-08 09:51:06 +00:00
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 [clang-tidy] Function names configurable for cppcoreguidelines-nomalloc - checker 2017-03-02 08:28:55 +00:00
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 [clang-tidy] adjust cppcoreguidelines-owning-memory documentation 2017-12-05 16:37:49 +00:00
cppcoreguidelines-pro-bounds-array-to-pointer-decay.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-bounds-constant-array-index.rst [clang-tidy docs] Add missing option docs. 2016-08-31 13:21:18 +00:00
cppcoreguidelines-pro-bounds-pointer-arithmetic.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-const-cast.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-cstyle-cast.rst [docs] Remove doubled spaces 2016-11-17 14:26:45 +00:00
cppcoreguidelines-pro-type-member-init.rst [docs] Remove doubled spaces 2016-11-17 14:26:45 +00:00
cppcoreguidelines-pro-type-reinterpret-cast.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-static-cast-downcast.rst [Clang-tidy documentation] Consistency (fix-it); 80 characters per line. 2017-01-26 23:58:21 +00:00
cppcoreguidelines-pro-type-union-access.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-vararg.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-slicing.rst [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +00:00
cppcoreguidelines-special-member-functions.rst [clang-tidy] fix example code-blocks indendation 2018-11-05 22:30:17 +00:00
fuchsia-default-arguments.rst 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-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 [clang-tidy] Adding Fuchsia checker for multiple inheritance 2018-01-19 23:59:59 +00:00
fuchsia-overloaded-operator.rst [clang-tidy] Adding Fuchsia checker for overloaded operators 2017-12-22 16:52:25 +00:00
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 [clang-tidy] Adding Fuchsia checker for statically constructed objects 2018-01-11 21:17:43 +00:00
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 [clang-tidy] Adding Fuchsia checker for virtual inheritance 2017-12-15 18:54:28 +00:00
google-build-explicit-make-pair.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
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 [clang-tidy] new google-default-arguments check 2016-05-09 13:43:58 +00:00
google-explicit-constructor.rst [clang-tidy] Flag implicit conversion operators. 2016-12-23 15:03:12 +00:00
google-global-names-in-headers.rst [clang-tidy docs] Add missing option docs. 2016-08-31 13:21:18 +00:00
google-objc-avoid-throwing-exception.rst [Documentation] Style fixes for Objective-C checks documentation to follow C/C++ example. 2017-11-30 21:42:27 +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] Style fixes for Objective-C checks documentation to follow C/C++ example. 2017-11-30 21:42:27 +00:00
google-readability-braces-around-statements.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-readability-casting.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-readability-function-size.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-readability-namespace-comments.rst Clang-tidy documentation style. Two Google checks are aliases. 2016-08-24 20:05:36 +00:00
google-readability-todo.rst [clang-tidy] Fix/add style guide links. 2016-05-19 09:31:30 +00:00
google-runtime-int.rst [clang-tidy docs] Add missing option docs. 2016-08-31 13:21:18 +00:00
google-runtime-operator.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-runtime-references.rst Fix typo in documentation 2016-10-11 09:42:13 +00:00
hicpp-avoid-c-arrays.rst [clang-tidy] Avoid C arrays check 2018-11-14 09:01:08 +00:00
hicpp-avoid-goto.rst [clang-tidy] implement check for goto 2018-01-17 10:27:41 +00:00
hicpp-braces-around-statements.rst [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
hicpp-deprecated-headers.rst [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
hicpp-exception-baseclass.rst Add hicpp-exception-baseclass to the HIC++ module. 2017-08-11 16:31:51 +00:00
hicpp-explicit-conversions.rst [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-function-size.rst [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-invalid-access-moved.rst [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
hicpp-member-init.rst [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-move-const-arg.rst [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
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 [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-new-delete-operators.rst [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-no-array-decay.rst [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
hicpp-no-assembler.rst Rename the clang-tidy safety module to be hicpp, for the High-Integrity C++ coding standard from PRQA. 2017-03-19 17:23:23 +00:00
hicpp-no-malloc.rst [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
hicpp-noexcept-move.rst [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-signed-bitwise.rst [clang-tidy] hicpp bitwise operations on signed integers 2017-08-30 13:32:05 +00:00
hicpp-special-member-functions.rst [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-static-assert.rst [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
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 [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
hicpp-use-emplace.rst [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
hicpp-use-equals-default.rst [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-use-equals-delete.rst [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-use-noexcept.rst [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
hicpp-use-nullptr.rst [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
hicpp-use-override.rst [clang-tidy] add forwarders in the aliased checks from hicpp module 2017-08-10 10:12:31 +00:00
hicpp-vararg.rst [clang-tidy] add more aliases for the hicpp module 2017-09-11 09:20:07 +00:00
list.rst [clang-tidy] Add the abseil-duration-subtraction check 2018-12-13 19:23:52 +00:00
llvm-header-guard.rst [clang-tidy docs] Add missing option docs. 2016-08-31 13:21:18 +00:00
llvm-include-order.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
llvm-namespace-comment.rst Add more examples to clang tidy checkers 2017-04-11 07:10:48 +00:00
llvm-twine-local.rst Add more examples to clang tidy checkers 2017-04-11 07:10:48 +00:00
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 [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +00:00
misc-new-delete-overloads.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-non-copyable-objects.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-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
misc-redundant-expression.rst [clang-tidy] Misc redundant expressions checker updated for macros 2017-11-07 13:17:58 +00:00
misc-static-assert.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-throw-by-value-catch-by-reference.rst [clang-tidy] Add cert-err09-cpp check alias. 2016-10-19 14:28:19 +00:00
misc-unconventional-assign-operator.rst [Clang-tidy] Alphabetical checks order in release notes. 2016-06-07 18:38:42 +00:00
misc-uniqueptr-reset-release.rst [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +00:00
misc-unused-alias-decls.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
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 [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +00:00
modernize-avoid-bind.rst [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +00:00
modernize-avoid-c-arrays.rst [clang-tidy] Avoid C arrays check 2018-11-14 09:01:08 +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 [clang-tidy] minor improvements in modernise-deprecated-headers check 2016-08-10 18:01:45 +00:00
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 [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
modernize-make-shared.rst [clang-tidy] Add missing documents for "IgnoreMacros" option. 2017-08-04 11:25:05 +00:00
modernize-make-unique.rst [clang-tidy] Ignore macros in make-unique check. 2017-08-04 11:18:00 +00:00
modernize-pass-by-value.rst [clang-tidy] doc removew hitespace in front of code-block-line 2018-11-05 22:21:27 +00:00
modernize-raw-string-literal.rst [docs] Remove doubled spaces 2016-11-17 14:26:45 +00:00
modernize-redundant-void-arg.rst [clang-tidy] Added documentation for modernize-redundant-void-arg 2015-12-22 18:13:00 +00:00
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 [clang-tidy] Add a note about modernize-replace-random-shuffle 2017-11-08 13:28:53 +00:00
modernize-return-braced-init-list.rst [clang-tidy] Add check 'modernize-return-braced-init-list' 2017-02-15 17:06:06 +00:00
modernize-shrink-to-fit.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
modernize-unary-static-assert.rst [clang-tidy] Add new modernize use unary assert check 2017-07-12 13:43:35 +00:00
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 [clang-tidy] Add missing documents for "IgnoreMacros" option. 2017-08-04 11:25:05 +00:00
modernize-use-default-member-init.rst clang-tidy: add IgnoreMacros option to modernize-use-default-member-init 2017-05-08 15:13:31 +00:00
modernize-use-default.rst Add a blank line to make sphinx happy. 2016-12-01 17:38:54 +00:00
modernize-use-emplace.rst [clang-tidy] fix example code-blocks indendation 2018-11-05 22:30:17 +00:00
modernize-use-equals-default.rst [clang-tidy] Add missing IgnoreMacros doc for modernize-use-equals-default. 2017-08-24 13:45:18 +00:00
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-noexcept.rst [clang-tidy] New checker to replace dynamic exception specifications 2017-06-08 14:04:16 +00:00
modernize-use-nullptr.rst Replaced UserNullMacros with NullMacros in modernize-use-nullptr check docs 2017-03-04 14:06:26 +00:00
modernize-use-override.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +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 [clang-tidy] Add missing documents for "IgnoreMacros" option. 2017-08-04 11:25:05 +00:00
mpi-buffer-deref.rst [clang-tidy docs] Fix build errors on Sphinx 1.4.5 2016-08-18 11:06:09 +00:00
mpi-type-mismatch.rst [clang-tidy docs] Minor fix 2016-08-18 11:12:03 +00:00
objc-avoid-nserror-init.rst [Documentation] Style fixes for Objective-C checks documentation to follow C/C++ example. 2017-11-30 21:42:27 +00:00
objc-avoid-spinlock.rst [Documentation] Sort Clang-tidy changes next way: new modules, new checks, renamed checks, extended checks, new check aliases. 2017-11-29 22:17:39 +00:00
objc-forbidden-subclassing.rst [Documentation] Style fixes for Objective-C checks documentation to follow C/C++ example. 2017-11-30 21:42:27 +00:00
objc-property-declaration.rst [clang-tidy/checks] Update objc-property-declaration check to allow arbitrary acronyms and initialisms 🔧 2018-12-05 03:44:03 +00:00
performance-faster-string-find.rst [docs] Remove doubled spaces 2016-11-17 14:26:45 +00:00
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 [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
performance-implicit-conversion-in-loop.rst [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
performance-inefficient-algorithm.rst [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
performance-inefficient-string-concatenation.rst [clang-tidy docs] Add missing option docs. 2016-08-31 13:21:18 +00:00
performance-inefficient-vector-operation.rst Fix some typos in the doc 2017-06-29 22:26:06 +00:00
performance-move-const-arg.rst [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
performance-move-constructor-init.rst [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
performance-noexcept-move-constructor.rst [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
performance-type-promotion-in-math-fn.rst Add more examples to clang tidy checkers 2017-04-11 07:10:48 +00:00
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 [clang-tidy] Add "portability" module and rename readability-simd-intrinsics to portability-simd-intrinsics 2018-03-07 16:57:42 +00:00
readability-avoid-const-params-in-decls.rst [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +00:00
readability-braces-around-statements.rst [docs] Remove doubled spaces 2016-11-17 14:26:45 +00:00
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 [clang-tidy] Correct code-block in the doc. 2017-03-31 07:55:22 +00:00
readability-delete-null-pointer.rst [clang-tidy] Add delete null pointer check. 2016-12-31 12:45:59 +00:00
readability-deleted-default.rst [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +00:00
readability-else-after-return.rst [Documentation] Fix style and grammar mistake in Clang-tidy readability-else-after-return description spotted by Alexander Kornienko. 2016-08-10 19:49:38 +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 [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
readability-implicit-bool-cast.rst [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
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 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
readability-misleading-indentation.rst [Docs] 'Limitations' should be a subsection 2017-02-17 18:11:08 +00:00
readability-misplaced-array-index.rst [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.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
readability-non-const-parameter.rst [Documentation] Fix style of Clang-tidy readability-non-const-parameter. 2016-08-23 17:57:24 +00:00
readability-redundant-control-flow.rst Clang-tidy documentation style. Two Google checks are aliases. 2016-08-24 20:05:36 +00:00
readability-redundant-declaration.rst [clang-tidy] Add missing documents for "IgnoreMacros" option. 2017-08-04 11:25:05 +00:00
readability-redundant-function-ptr-dereference.rst [clang-tidy] Add check for redundant function pointer dereferences 2016-12-13 08:04:11 +00:00
readability-redundant-member-init.rst [clang-tidy] Add check 'readability-redundant-member-init' 2016-10-20 16:08:03 +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 [clang-tidy] Handle data() in readability-redundant-string-cstr 2016-11-03 12:56:48 +00:00
readability-redundant-string-init.rst Add more examples to clang tidy checkers 2017-04-11 07:10:48 +00:00
readability-simplify-boolean-expr.rst [clang-tidy docs] Further cleanup of options 2016-08-22 17:19:23 +00:00
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 [clang-tidy] Minor documentation improvement 2017-08-10 09:13:26 +00:00
readability-static-definition-in-anonymous-namespace.rst [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +00:00
readability-string-compare.rst clang-tidy/rename_check.py misc-string-compare readability-string-compare 2018-01-30 14:55:50 +00:00
readability-uniqueptr-delete-release.rst Add the definition of P in the clang tidy example 2017-04-11 16:28:15 +00:00
readability-uppercase-literal-suffix.rst [Documentation] Make options section in Clang-tidy readability-uppercase-literal-suffix consistent with other checks. 2018-12-04 21:19:08 +00:00
zircon-temporary-objects.rst [clang-tidy] Add Zircon module to clang-tidy 2018-03-14 23:47:50 +00:00