llvm-project/clang-tools-extra/docs/clang-tidy/checks
Haojian Wu dc62da4e0b [clang-tidy] Check for sizeof that call functions
Summary:
A common mistake that I have found in our codebase is calling a function to get an integer or enum that represents the type such as:

```
int numBytes = numElements * sizeof(x.GetType());
```

So this extends the `sizeof` check to check for these cases. There is also a `WarnOnSizeOfCall` option so it can be disabled.

Patch by Paul Fultz II!

Reviewers: hokein, alexfh, aaron.ballman, ilya-biryukov

Reviewed By: alexfh

Subscribers: lebedev.ri, xazax.hun, jkorous-apple, cfe-commits

Tags: #clang-tools-extra

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

llvm-svn: 329073
2018-04-03 15:10:24 +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
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
boost-use-to-string.rst Add boost-use-to-string 2016-04-29 17:58:29 +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-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 Rename a few checks from misc- to bugprone-. 2018-02-28 14:47:20 +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] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +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-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] Another batch of checks to rename from misc- to bugprone-. 2018-02-28 23:47:15 +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-throw-keyword-missing.rst [clang-tidy] Minor documentation fix 2018-02-15 09:19:23 +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] New check bugprone-unused-return-value 2018-03-19 13:02:32 +00:00
bugprone-use-after-move.rst [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +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-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-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-oop11-cpp.rst [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
cppcoreguidelines-avoid-goto.rst [clang-tidy] implement check for goto 2018-01-17 10:27:41 +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-no-malloc.rst [clang-tidy] Function names configurable for cppcoreguidelines-nomalloc - checker 2017-03-02 08:28:55 +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 Add the 'AllowSoleDefaultDtor' and 'AllowMissingMoveFunctions' options to the cppcoreguidelines-special-member-functions check. 2017-03-13 21:39:00 +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-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-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 docs] Add missing option docs. 2016-08-31 13:21:18 +00:00
google-build-using-namespace.rst [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +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-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-redundant-smartptr-get.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-member-string-references.rst [Clang-tidy] Fix some checks documentation style. 2016-08-26 17:46:51 +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-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-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] Resubmit hicpp-multiway-paths-covered without breaking test 2018-03-21 15:34:15 +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-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 Add more examples to clang tidy checkers 2017-04-11 07:10:48 +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-deprecated-headers.rst [clang-tidy] minor improvements in modernise-deprecated-headers check 2016-08-10 18:01:45 +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] Replace dead link in modernize-pass-by-value doc 2016-12-27 22:01:37 +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 docs] Add missing option docs. 2016-08-31 13:21:18 +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] Enhance modernize-use-auto to templated function casts 2016-12-15 10:19:56 +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] Updated docs and release notes for r310584 2017-08-10 12:54:05 +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 modernize-use-equals-delete check 2016-11-10 16:46:59 +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 Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +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] Fix incorrect code indention in the doc. 2018-02-05 13:23:48 +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 docs] Add missing option docs. 2016-08-31 13:21:18 +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 Add check for unneeded copies of locals 2016-03-23 09:33:07 +00:00
performance-unnecessary-value-param.rst [clang-tidy docs] Add missing option docs. 2016-08-31 13:21:18 +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-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 NestingThreshold param. 2017-06-09 14:22:10 +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] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
readability-inconsistent-declaration-parameter-name.rst clang-tidy: add IgnoreMacros option to readability-inconsistent-declaration-parameter-name 2018-01-05 23:22:10 +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 documentation style. Two Google checks are aliases. 2016-08-24 20:05:36 +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-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
zircon-temporary-objects.rst [clang-tidy] Add Zircon module to clang-tidy 2018-03-14 23:47:50 +00:00