File indexing completed on 2024-04-28 05:38:34

0001 /*
0002     SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group company info@kdab.com
0003     SPDX-FileContributor: SĂ©rgio Martins <sergio.martins@kdab.com>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #ifndef CLAZY_TR_NON_LITERAL_H
0009 #define CLAZY_TR_NON_LITERAL_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-tr-non-literal.md for more info.
0023  */
0024 class TrNonLiteral : public CheckBase
0025 {
0026 public:
0027     explicit TrNonLiteral(const std::string &name, ClazyContext *context);
0028     void VisitStmt(clang::Stmt *stmt) override;
0029 
0030 private:
0031 };
0032 
0033 #endif