File indexing completed on 2024-04-28 05:38:27
0001 /* 0002 SPDX-FileCopyrightText: 2020 Sergio Martins <smartins@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef CLAZY_QSTRING_COMPARISON_TO_IMPLICIT_CHAR_H 0008 #define CLAZY_QSTRING_COMPARISON_TO_IMPLICIT_CHAR_H 0009 0010 #include "checkbase.h" 0011 0012 /** 0013 * See README-qstring-comparison-to-implicit-char.md for more info. 0014 */ 0015 class QStringComparisonToImplicitChar : public CheckBase 0016 { 0017 public: 0018 explicit QStringComparisonToImplicitChar(const std::string &name, ClazyContext *context); 0019 void VisitStmt(clang::Stmt *) override; 0020 0021 private: 0022 }; 0023 0024 #endif