bolt/deps/llvm-18.1.8/clang-tools-extra/docs/clang-tidy/checks/bugprone/undelegated-constructor.rst

11 lines
337 B
ReStructuredText
Raw Normal View History

2025-02-14 19:21:04 +01:00
.. title:: clang-tidy - bugprone-undelegated-constructor
bugprone-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.