| 1 |
/* |
| 2 |
SPDX-FileCopyrightText: 2019 Sergio Martins <[email protected]> |
| 3 |
|
| 4 |
SPDX-License-Identifier: LGPL-2.0-or-later |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef CLAZY_HEAP_ALLOCATED_SMALL_TRIVIAL_TYPE_H |
| 8 |
#define CLAZY_HEAP_ALLOCATED_SMALL_TRIVIAL_TYPE_H |
| 9 |
|
| 10 |
#include "checkbase.h" |
| 11 |
|
| 12 |
/** |
| 13 |
* See README-heap-allocated-small-trivial-type.md for more info. |
| 14 |
*/ |
| 15 |
class HeapAllocatedSmallTrivialType : public CheckBase |
| 16 |
{ |
| 17 |
public: |
| 18 |
using CheckBase::CheckBase; |
| 19 |
void VisitDecl(clang::Decl *decl) override; |
| 20 |
}; |
| 21 |
|
| 22 |
#endif |