summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/docs/clang-tidy/checks/misc-undelegated-constructor.rst
blob: 3b7fffcd21f89d14f320639eec3c0627fa119548 (plain)
1
2
3
4
5
6
7
8
9
10
11
.. title:: clang-tidy - misc-undelegated-constructor

misc-undelegated-constructor
============================


Finds creation of temporary objects in constructors that look like a
function call to another constructor of the same class.

The user most likely meant to use a delegating constructor or base class
initializer.
OpenPOWER on IntegriCloud