/* SPDX-FileCopyrightText: 2015 Sergio Martins SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef CLANG_COPYABLE_POLYMORPHIC_H #define CLANG_COPYABLE_POLYMORPHIC_H #include "checkbase.h" /** * Finds polymorphic classes without Q_DISABLE_COPY * * See README-copyable-polymorphic for more information */ class CopyablePolymorphic : public CheckBase { public: using CheckBase::CheckBase; void VisitDecl(clang::Decl *) override; std::vector fixits(clang::CXXRecordDecl *record); }; #endif