File indexing completed on 2024-04-28 05:38:25
0001 /* 0002 SPDX-FileCopyrightText: 2016 Sergio Martins <smartins@kde.org> 0003 SPDX-FileCopyrightText: 2016 Klarälvdalens Datakonsult AB a KDAB Group company info@kdab.com 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef CLAZY_CONNECT_NON_SIGNAL_H 0009 #define CLAZY_CONNECT_NON_SIGNAL_H 0010 0011 #include "checkbase.h" 0012 0013 #include <string> 0014 0015 class ClazyContext; 0016 namespace clang 0017 { 0018 class Stmt; 0019 } // namespace clang 0020 0021 /** 0022 * See README-connect-non-signal.md for more info. 0023 */ 0024 class ConnectNonSignal : public CheckBase 0025 { 0026 public: 0027 explicit ConnectNonSignal(const std::string &name, ClazyContext *context); 0028 void VisitStmt(clang::Stmt *stmt) override; 0029 }; 0030 0031 #endif