• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1.. title:: clang-tidy - bugprone-bool-pointer-implicit-conversion
2
3bugprone-bool-pointer-implicit-conversion
4=========================================
5
6Checks for conditions based on implicit conversion from a ``bool`` pointer to
7``bool``.
8
9Example:
10
11.. code-block:: c++
12
13  bool *p;
14  if (p) {
15    // Never used in a pointer-specific way.
16  }
17