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