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

0001 /*
0002     SPDX-FileCopyrightText: 2016 Sergio Martins <smartins@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef CLAZY_MUTABLE_CONTAINER_KEY_H
0008 #define CLAZY_MUTABLE_CONTAINER_KEY_H
0009 
0010 #include "checkbase.h"
0011 
0012 #include <string>
0013 
0014 class ClazyContext;
0015 namespace clang
0016 {
0017 class Decl;
0018 } // namespace clang
0019 
0020 /**
0021  * See README-mutable-container-key for more info.
0022  */
0023 class MutableContainerKey : public CheckBase
0024 {
0025 public:
0026     explicit MutableContainerKey(const std::string &name, ClazyContext *context);
0027     void VisitDecl(clang::Decl *decl) override;
0028 
0029 private:
0030 };
0031 
0032 #endif