File indexing completed on 2024-04-28 05:38:28
0001 /* 0002 SPDX-FileCopyrightText: 2021 Klarälvdalens Datakonsult AB a KDAB Group company info@kdab.com 0003 SPDX-FileContributor: Waqar Ahmed <waqar.ahmed@kdab.com> 0004 SPDX-FileCopyrightText: 2021 Waqar Ahmed <waqar.17a@gmail.com> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #ifndef CLAZY_USE_STATIC_QREGULAREXPRESSION_H 0010 #define CLAZY_USE_STATIC_QREGULAREXPRESSION_H 0011 0012 #include "checkbase.h" 0013 0014 /** 0015 * See README-use-static-qregularexpression.md for more info. 0016 */ 0017 class UseStaticQRegularExpression : public CheckBase 0018 { 0019 public: 0020 explicit UseStaticQRegularExpression(const std::string &name, ClazyContext *context); 0021 void VisitStmt(clang::Stmt *) override; 0022 0023 private: 0024 }; 0025 0026 #endif