llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/undelegated-constructor.rst
raw| 1 | .. title:: clang-tidy - bugprone-undelegated-constructor |
| 2 | |
| 3 | bugprone-undelegated-constructor |
| 4 | ================================ |
| 5 | |
| 6 | Finds creation of temporary objects in constructors that look like a |
| 7 | function call to another constructor of the same class. |
| 8 | |
| 9 | The user most likely meant to use a delegating constructor or base class |
| 10 | initializer. |