llvm-project/clang-tools-extra/docs/clang-tidy/checks
Roman Lebedev 39431e479f
[clang-tidy] Introduce misc No Integer To Pointer Cast check
While casting an (integral) pointer to an integer is obvious - you just get
the integral value of the pointer, casting an integer to an (integral) pointer
is deceivingly different. While you will get a pointer with that integral value,
if you got that integral value via a pointer-to-integer cast originally,
the new pointer will lack the provenance information from the original pointer.

So while (integral) pointer to integer casts are effectively no-ops,
and are transparent to the optimizer, integer to (integral) pointer casts
are *NOT* transparent, and may conceal information from optimizer.

While that may be the intention, it is not always so. For example,
let's take a look at a routine to align the pointer up to the multiple of 16:
The obvious, naive implementation for that is:

```
  char* src(char* maybe_underbiased_ptr) {
    uintptr_t maybe_underbiased_intptr = (uintptr_t)maybe_underbiased_ptr;
    uintptr_t aligned_biased_intptr = maybe_underbiased_intptr + 15;
    uintptr_t aligned_intptr = aligned_biased_intptr & (~15);
    return (char*)aligned_intptr; // warning: avoid integer to pointer casts [misc-no-inttoptr]
  }
```

The check will rightfully diagnose that cast.

But when provenance concealment is not the goal of the code, but an accident,
this example can be rewritten as follows, without using integer to pointer cast:

```
  char*
  tgt(char* maybe_underbiased_ptr) {
      uintptr_t maybe_underbiased_intptr = (uintptr_t)maybe_underbiased_ptr;
      uintptr_t aligned_biased_intptr = maybe_underbiased_intptr + 15;
      uintptr_t aligned_intptr = aligned_biased_intptr & (~15);
      uintptr_t bias = aligned_intptr - maybe_underbiased_intptr;
      return maybe_underbiased_ptr + bias;
  }
```

See also:
* D71499
* [[ https://www.cs.utah.edu/~regehr/oopsla18.pdf | Juneyoung Lee, Chung-Kil Hur, Ralf Jung, Zhengyang Liu, John Regehr, and Nuno P. Lopes. 2018. Reconciling High-Level Optimizations and Low-Level Code in LLVM. Proc. ACM Program. Lang. 2, OOPSLA, Article 125 (November 2018), 28 pages. ]]

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D91055
2020-12-08 22:55:13 +03:00
..
abseil-duration-addition.rst [clang-tidy] Fix a typo in the doc. 2019-06-21 07:58:19 +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 Fix some typos in the clang-tools-extra doc 2019-12-19 22:23:35 +01:00
abseil-duration-subtraction.rst Fix some typos in the clang-tools-extra doc 2019-12-19 22:23:35 +01:00
abseil-duration-unnecessary-conversion.rst [clang-tidy] Update Abseil Duration Conversion check to find more cases. 2020-03-13 12:52:37 -04: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-string-find-str-contains.rst [clang-tidy] Add abseil-string-find-str-contains checker. 2020-05-28 12:35:57 -04:00
abseil-time-comparison.rst Fix typo in documentation. 2019-04-26 17:56:22 +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
altera-kernel-name-restriction.rst Add a new altera kernel name restriction check to clang-tidy. 2020-11-09 09:26:50 -05:00
altera-struct-pack-align.rst Add a new altera check for structure packing and alignment. 2020-09-08 09:35:14 -04: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-pipe.rst [docs] Fix a few problems with clang-tool docs to get the bots green again. 2019-06-16 17:57:37 +00:00
android-cloexec-pipe2.rst android: add a close-on-exec check on pipe2() 2019-06-06 05:21:39 +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 Allow to specify macro names for android-comparison-in-temp-failure-retry 2020-10-01 10:09:26 -07: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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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-bad-signal-to-kill-thread.rst [clang-tidy] Add bugprone-bad-signal-to-kill-thread check and its alias cert-pos44-c 2019-11-11 17:47:14 +01: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-branch-clone.rst NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05: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-dynamic-static-initializers.rst Fix documentation build after rL369568 2019-08-21 20:59:16 +00:00
bugprone-exception-escape.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00
bugprone-fold-init-type.rst Fix some typos in the clang-tools-extra doc 2019-12-19 22:23:35 +01: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] Fix reST syntax 2020-09-10 13:56:57 +02:00
bugprone-inaccurate-erase.rst Documentation for bugprone-inaccurate-erase: added an example of a bug that this checker catches 2019-05-08 12:02:31 +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-infinite-loop.rst [clang-tidy] Fix for commits rL372706 and rL372711 2019-10-02 07:14:11 +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 [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02: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-pointer-arithmetic-in-alloc.rst [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
bugprone-misplaced-widening-cast.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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-no-escape.rst Speculatively fix the sphinx build. 2020-07-07 13:54:28 -04:00
bugprone-not-null-terminated-result.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
bugprone-parent-virtual-call.rst [doc] Fix svn property for bugprone-parent-virtual-call.rst 2019-01-23 06:46:27 +00:00
bugprone-posix-return.rst [clang-tidy] add checks to bugprone-posix-return 2019-09-16 21:43:56 +00:00
bugprone-redundant-branch-condition.rst Attempt to fix Sphinx build failure, NFC 2020-09-05 18:25:27 +02:00
bugprone-reserved-identifier.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
bugprone-signal-handler.rst [clang-tidy] Add signal-handler-check for SEI CERT rule SIG30-C 2020-11-04 16:42:30 +01:00
bugprone-signed-char-misuse.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
bugprone-spuriously-wake-up-functions.rst [clang-tidy] Add spuriously-wake-up-functions check 2020-03-21 12:04:03 +01:00
bugprone-string-constructor.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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 Fix some typos in the clang-tools-extra doc 2019-12-19 22:23:35 +01:00
bugprone-suspicious-include.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02: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 [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02: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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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] Fix reST syntax 2020-09-10 13:56:57 +02: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] Add MagnitudeBitsUpperLimit option to bugprone-too-small-loop-variable 2019-04-14 12:47:48 +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-unhandled-self-assignment.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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 Fix some typos in the clang-tools-extra doc 2019-12-19 22:23:35 +01: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-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
cert-con36-c.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00
cert-con54-cpp.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00
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 Update documentation for all CERT checks that correspond to a recommendation. 2019-07-22 13:22:08 +00:00
cert-dcl37-c.rst Add `bugprone-reserved-identifier` 2020-01-17 08:44:21 -05:00
cert-dcl50-cpp.rst
cert-dcl51-cpp.rst Add `bugprone-reserved-identifier` 2020-01-17 08:44:21 -05:00
cert-dcl54-cpp.rst
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
cert-env33-c.rst
cert-err09-cpp.rst Update documentation for all CERT checks that correspond to a recommendation. 2019-07-22 13:22:08 +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
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
cert-err61-cpp.rst
cert-fio38-c.rst
cert-flp30-c.rst
cert-mem57-cpp.rst NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05: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 Update documentation for all CERT checks that correspond to a recommendation. 2019-07-22 13:22:08 +00:00
cert-oop54-cpp.rst [clang-tidy]: Add cert-oop54-cpp alias for bugprone-unhandled-self-assignment 2019-05-23 20:29:04 +00:00
cert-oop57-cpp.rst [clang-tidy] Add check for CERT-OOP57-CPP 2020-01-20 17:09:03 +00:00
cert-oop58-cpp.rst [clang-tidy] Add cert-oop58-cpp check 2019-12-15 16:30:14 +01:00
cert-pos44-c.rst [clang-tidy] Add bugprone-bad-signal-to-kill-thread check and its alias cert-pos44-c 2019-11-11 17:47:14 +01:00
cert-sig30-c.rst [clang-tidy] Add signal-handler-check for SEI CERT rule SIG30-C 2020-11-04 16:42:30 +01:00
cert-str34-c.rst [clang-tidy]: Add cert-str34-c alias for bugprone-signed-char-misuse. 2020-05-06 12:36:01 +02:00
clang-analyzer-core.CallAndMessage.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.DivideZero.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.DynamicTypePropagation.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.NonNullParamChecker.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.NullDereference.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.StackAddressEscape.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.UndefinedBinaryOperatorResult.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.VLASize.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.uninitialized.ArraySubscript.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.uninitialized.Assign.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.uninitialized.Branch.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.uninitialized.CapturedBlockVariable.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-core.uninitialized.UndefReturn.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-cplusplus.InnerPointer.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-cplusplus.Move.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-cplusplus.NewDelete.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-cplusplus.NewDeleteLeaks.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-deadcode.DeadStores.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-nullability.NullPassedToNonnull.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-nullability.NullReturnedFromNonnull.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-nullability.NullableDereferenced.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-nullability.NullablePassedToNonnull.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-nullability.NullableReturnedFromNonnull.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-optin.cplusplus.UninitializedObject.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-optin.cplusplus.VirtualCall.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-optin.mpi.MPI-Checker.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-optin.osx.OSObjectCStyleCast.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-optin.performance.GCDAntipattern.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-optin.performance.Padding.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-optin.portability.UnixAPI.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.API.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.MIG.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.NumberObjectConversion.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.OSObjectRetainCount.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.ObjCProperty.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.SecKeychainAPI.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.AtSync.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.AutoreleaseWrite.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.ClassRelease.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.Dealloc.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.IncompatibleMethodTypes.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.Loops.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.MissingSuperCall.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.NSAutoreleasePool.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.NSError.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.NilArg.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.NonNilReturnValue.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.ObjCGenerics.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.RetainCount.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.RunLoopAutoreleaseLeak.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.SelfInit.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.SuperDealloc.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.UnusedIvars.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.cocoa.VariadicMethodTypes.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.coreFoundation.CFError.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.coreFoundation.CFNumber.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.coreFoundation.CFRetainRelease.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.coreFoundation.containers.OutOfBounds.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-osx.coreFoundation.containers.PointerSizedValues.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.FloatLoopCounter.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.UncheckedReturn.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.bcmp.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.bcopy.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.bzero.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.getpw.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.gets.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.mkstemp.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.mktemp.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.rand.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.strcpy.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-security.insecureAPI.vfork.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-unix.API.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-unix.Malloc.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-unix.MallocSizeof.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-unix.MismatchedDeallocator.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-unix.Vfork.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-unix.cstring.BadSizeArg.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-unix.cstring.NullArg.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-valist.CopyToSelf.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-valist.Uninitialized.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
clang-analyzer-valist.Unterminated.rst [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
concurrency-mt-unsafe.rst [clang-tidy] implement concurrency-mt-unsafe 2020-11-30 12:27:17 +03: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-avoid-non-const-global-variables.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00
cppcoreguidelines-c-copy-assignment-signature.rst [clang-tidy] Fix an error in the doc. 2017-08-10 10:15:48 +00:00
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-init-variables.rst [clang-tidy] IncludeInserter: allow <> in header name 2020-09-28 15:14:04 +02:00
cppcoreguidelines-interfaces-global-init.rst
cppcoreguidelines-macro-usage.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
cppcoreguidelines-narrowing-conversions.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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 Fix some typos in the clang-tools-extra doc 2019-12-19 22:23:35 +01:00
cppcoreguidelines-prefer-member-initializer.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
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 [docs] Remove doubled spaces 2016-11-17 14:26:45 +00:00
cppcoreguidelines-pro-type-member-init.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
cppcoreguidelines-pro-type-reinterpret-cast.rst
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
cppcoreguidelines-pro-type-vararg.rst
cppcoreguidelines-slicing.rst
cppcoreguidelines-special-member-functions.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
darwin-avoid-spinlock.rst [clang-tidy] Rename objc-avoid-spinlock check to darwin-avoid-spinlock 2019-10-01 21:18:40 +00:00
darwin-dispatch-once-nonstatic.rst [clang-tidy] New check to warn when storing dispatch_once_t in non-static, non-global storage. 2019-09-27 10:49:12 +00:00
fuchsia-default-arguments-calls.rst [clang-tidy] Split fuchsia-default-arguments 2019-06-18 18:07:33 +00:00
fuchsia-default-arguments-declarations.rst [clang-tidy] Split fuchsia-default-arguments 2019-06-18 18:07:33 +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-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
gen-static-analyzer-docs.py [clang-tidy] Adding static analyzer check to list of clang-tidy checks 2019-08-02 17:18:31 +00:00
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 [clang-tidy] Flag implicit conversion operators. 2016-12-23 15:03:12 +00:00
google-global-names-in-headers.rst
google-objc-avoid-nsobject-new.rst [clang-tidy] New check calling out uses of +new in Objective-C code 2019-05-23 12:01:26 +00:00
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 Fix gendered documentation 2020-10-31 12:17:19 +01: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 [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00
google-readability-function-size.rst
google-readability-namespace-comments.rst
google-readability-todo.rst
google-runtime-int.rst Fix some typos in the clang-tools-extra doc 2019-12-19 22:23:35 +01:00
google-runtime-operator.rst
google-upgrade-googletest-case.rst [clang-tidy]: Google: new check 'google-upgrade-googletest-case' 2019-07-29 21:38:56 +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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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] [doc] Fix hicpp-noexcept-move alias links. 2020-04-09 10:48:08 +02:00
hicpp-signed-bitwise.rst Add an option to hicpp-signed-bitwise for positive integer literals. 2019-10-30 14:11:29 -04: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 NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05: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
linuxkernel-must-use-errs.rst [clang-tidy] Fix the documentation for linuxkernel-must-use-errs. 2019-07-30 16:49:28 +00:00
list.rst [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
llvm-else-after-return.rst [clang-tidy] Added alias llvm-else-after-return. 2020-07-06 14:39:03 +01: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-prefer-isa-or-dyn-cast-in-conditionals.rst [clang-tidy] Add new checker: llvm-prefer-isa-or-dyn-cast-in-conditionals 2019-04-24 21:25:57 +00:00
llvm-prefer-register-over-unsigned.rst [clang-tidy] Add llvm-prefer-register-over-unsigned to clang-tidy 2019-08-30 20:01:59 +00:00
llvm-qualified-auto.rst Added readability-qualified-auto check 2020-01-14 14:06:46 -05:00
llvm-twine-local.rst Add more examples to clang tidy checkers 2017-04-11 07:10:48 +00:00
llvmlibc-callee-namespace.rst [clang-tidy] Add check callee-namespace. 2020-04-28 17:22:23 -07:00
llvmlibc-implementation-in-namespace.rst [clang-tidy] Add check llvmlibc-implementation-in-namespace. 2020-04-06 10:49:49 -07:00
llvmlibc-restrict-system-libc-headers.rst [clang-tidy] Merge common code between llvmlibc-restrict-system-libc-headers and portability-restrict-system-includes 2020-03-20 15:53:05 -07:00
misc-definitions-in-headers.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
misc-misplaced-const.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00
misc-new-delete-overloads.rst
misc-no-recursion.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00
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 [clang-tidy] Misc redundant expressions checker updated for macros 2017-11-07 13:17:58 +00:00
misc-static-assert.rst
misc-throw-by-value-catch-by-reference.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
misc-unconventional-assign-operator.rst
misc-uniqueptr-reset-release.rst
misc-unused-alias-decls.rst [clang-tidy] Add an example for misc-unused-alias-decls 2020-10-13 13:56:04 +02:00
misc-unused-parameters.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
misc-unused-using-decls.rst
modernize-avoid-bind.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
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 Fix some typos in the clang-tools-extra doc 2019-12-19 22:23:35 +01:00
modernize-deprecated-ios-base-aliases.rst Revert two patches, not ready to be shared 2020-05-10 11:27:13 +02:00
modernize-loop-convert.rst [clang-tidy] modernize-loop-convert reverse iteration support 2020-10-16 14:16:30 +01:00
modernize-make-shared.rst [clang-tidy] Omit std::make_unique/make_shared for default initialization. 2020-12-08 10:34:17 -05:00
modernize-make-unique.rst [clang-tidy] Omit std::make_unique/make_shared for default initialization. 2020-12-08 10:34:17 -05:00
modernize-pass-by-value.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
modernize-raw-string-literal.rst [docs] Remove doubled spaces 2016-11-17 14:26:45 +00:00
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-disallow-copy-and-assign-macro.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02: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
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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
modernize-use-bool-literals.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
modernize-use-default-member-init.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
modernize-use-equals-default.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
modernize-use-equals-delete.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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 [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
modernize-use-trailing-return-type.rst Add support for C++20 concepts and decltype to modernize-use-trailing-return-type. 2020-08-15 10:40:22 -04:00
modernize-use-transparent-functors.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
modernize-use-uncaught-exceptions.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00
modernize-use-using.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
mpi-buffer-deref.rst
mpi-type-mismatch.rst
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-dealloc-in-category.rst Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category. 2020-02-10 08:56:28 -07:00
objc-forbidden-subclassing.rst [Documentation] Style fixes for Objective-C checks documentation to follow C/C++ example. 2017-11-30 21:42:27 +00:00
objc-missing-hash.rst [clang-tidy] Add check for classes missing -hash ⚠️ 2019-09-21 01:22:22 +00:00
objc-nsinvocation-argument-lifetime.rst [clang-tidy] Add check to find calls to NSInvocation methods under ARC that don't have proper object argument lifetimes. 2020-04-10 08:51:21 -07:00
objc-property-declaration.rst [clang-tidy] Delete obsolete objc-property-declaration options ✂️ 2019-02-16 04:27:12 +00:00
objc-super-self.rst [clang-tidy] Add a check for [super self] in initializers 🔍 2019-04-17 22:29:06 +00:00
openmp-exception-escape.rst [clang-tidy] openmp-exception-escape - a new check 2019-03-22 19:46:25 +00:00
openmp-use-default-none.rst [OpenMP] Add firstprivate as a default data-sharing attribute to clang 2020-07-12 23:01:40 -05:00
performance-faster-string-find.rst [clang-tidy] performance-faster-string-find string-view 2020-06-30 16:45:59 +01:00
performance-for-range-copy.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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 Fix some typos in the clang-tools-extra doc 2019-12-19 22:23:35 +01:00
performance-inefficient-string-concatenation.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
performance-inefficient-vector-operation.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
performance-move-const-arg.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
performance-move-constructor-init.rst [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
performance-no-automatic-move.rst [clang-tidy] new performance-no-automatic-move check. 2019-11-22 08:47:55 +01:00
performance-no-int-to-ptr.rst [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
performance-noexcept-move-constructor.rst [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
performance-trivially-destructible.rst [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01: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-restrict-system-includes.rst [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
portability-simd-intrinsics.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
readability-avoid-const-params-in-decls.rst
readability-braces-around-statements.rst [docs] Remove doubled spaces 2016-11-17 14:26:45 +00:00
readability-const-return-type.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00
readability-container-size-empty.rst [clang-tidy] Correct code-block in the doc. 2017-03-31 07:55:22 +00:00
readability-convert-member-functions-to-static.rst [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09: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
readability-else-after-return.rst [clang-tidy] Added alias llvm-else-after-return. 2020-07-06 14:39:03 +01:00
readability-function-cognitive-complexity.rst [clang-tidy] Implement readability-function-cognitive-complexity check 2020-10-03 00:27:13 +03: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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
readability-inconsistent-declaration-parameter-name.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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 Optionally exclude bitfield definitions from magic numbers check 2019-12-07 12:33:10 -05:00
readability-make-member-function-const.rst Revert "[Docs] Fix typo and test git commit access. NFC." 2020-06-27 18:58:03 +08:00
readability-misleading-indentation.rst [Docs] 'Limitations' should be a subsection 2017-02-17 18:11:08 +00:00
readability-misplaced-array-index.rst
readability-named-parameter.rst
readability-non-const-parameter.rst
readability-qualified-auto.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
readability-redundant-access-specifiers.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
readability-redundant-control-flow.rst
readability-redundant-declaration.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
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][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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 [clang-tidy] Include std::basic_string_view in readability-redundant-string-init. 2020-11-20 10:06:57 -05:00
readability-simplify-boolean-expr.rst [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +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
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 [clang-tidy][docs] Update check options with boolean values instead of non-zero/0/1 2020-12-07 12:13:57 +00:00
readability-use-anyofallof.rst [clang-tidy] add new check readability-use-anyofallof 2020-06-03 12:19:06 +02:00
zircon-temporary-objects.rst [clang-tidy] Fix reST syntax 2020-09-10 13:56:57 +02:00