src/checks/level0/wrong-qevent-cast.h
raw| 1 | /* |
| 2 | SPDX-FileCopyrightText: 2018 Sergio Martins <[email protected]> |
| 3 | |
| 4 | SPDX-License-Identifier: LGPL-2.0-or-later |
| 5 | */ |
| 6 | |
| 7 | #ifndef CLAZY_WRONG_QEVENT_CAST_H |
| 8 | #define CLAZY_WRONG_QEVENT_CAST_H |
| 9 | |
| 10 | #include "checkbase.h" |
| 11 | |
| 12 | /** |
| 13 | * See README-wrong-qevent-cast.md for more info. |
| 14 | */ |
| 15 | class WrongQEventCast : public CheckBase |
| 16 | { |
| 17 | public: |
| 18 | using CheckBase::CheckBase; |
| 19 | void VisitStmt(clang::Stmt *) override; |
| 20 | }; |
| 21 | |
| 22 | #endif |