summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.h')
-rw-r--r--clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.h b/clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.h
index a3c3e199dd3..bba36ed49be 100644
--- a/clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.h
+++ b/clang-tools-extra/clang-tidy/misc/UndelegatedConstructor.h
@@ -16,9 +16,11 @@ namespace clang {
namespace tidy {
namespace misc {
-/// \brief 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.
+/// 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.
class UndelegatedConstructorCheck : public ClangTidyCheck {
public:
UndelegatedConstructorCheck(StringRef Name, ClangTidyContext *Context)
OpenPOWER on IntegriCloud