Debian Codegraph @

src/checks/level0/wrong-qglobalstatic.h

raw
1 /*
2 SPDX-FileCopyrightText: 2015 Sergio Martins <[email protected]>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7 #ifndef CLAZY_WRONG_QGLOBALSTATIC_H
8 #define CLAZY_WRONG_QGLOBALSTATIC_H
9
10 #include "checkbase.h"
11
12 /**
13 * Finds Q_QGLOBAL_STATICs being used with trivial classes.
14 *
15 * See README-wrong-qglobalstatic for more information
16 */
17 class WrongQGlobalStatic : public CheckBase
18 {
19 public:
20 using CheckBase::CheckBase;
21 void VisitStmt(clang::Stmt *stmt) override;
22 };
23
24 #endif