File indexing completed on 2024-04-28 05:38:26
0001 /* 0002 SPDX-FileCopyrightText: 2016-2017 Sergio Martins <smartins@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef CLAZY_LAMBDA_IN_CONNECT_H 0008 #define CLAZY_LAMBDA_IN_CONNECT_H 0009 0010 #include "checkbase.h" 0011 0012 #include <string> 0013 0014 class ClazyContext; 0015 0016 namespace clang 0017 { 0018 class Stmt; 0019 } 0020 0021 /** 0022 * <Description> 0023 * 0024 * See README-example-check for more information 0025 */ 0026 class LambdaInConnect : public CheckBase 0027 { 0028 public: 0029 explicit LambdaInConnect(const std::string &name, ClazyContext *context); 0030 void VisitStmt(clang::Stmt *stmt) override; 0031 }; 0032 0033 #endif