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

0001 /*
0002     SPDX-FileCopyrightText: 2019 Sergio Martins <smartins@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef CLAZY_HEAP_ALLOCATED_SMALL_TRIVIAL_TYPE_H
0008 #define CLAZY_HEAP_ALLOCATED_SMALL_TRIVIAL_TYPE_H
0009 
0010 #include "checkbase.h"
0011 
0012 /**
0013  * See README-heap-allocated-small-trivial-type.md for more info.
0014  */
0015 class HeapAllocatedSmallTrivialType : public CheckBase
0016 {
0017 public:
0018     explicit HeapAllocatedSmallTrivialType(const std::string &name, ClazyContext *context);
0019     void VisitDecl(clang::Decl *decl) override;
0020 
0021 private:
0022 };
0023 
0024 #endif