Debian Codegraph @

src/checks/level0/qdatetime-utc.h

raw
1 /*
2 SPDX-FileCopyrightText: 2015 Klarälvdalens Datakonsult AB a KDAB Group company [email protected]
3 SPDX-FileContributor: Sérgio Martins <[email protected]>
4
5 SPDX-FileCopyrightText: 2015 Sergio Martins <[email protected]>
6
7 SPDX-License-Identifier: LGPL-2.0-or-later
8 */
9
10 #ifndef CLANG_LAZY_QDATETIME_UTC_H
11 #define CLANG_LAZY_QDATETIME_UTC_H
12
13 #include "checkbase.h"
14
15 /**
16 * Finds expensive calls to QDateTime::currentDateTime().
17 *
18 * See README-qdatetime-utc for more information.
19 */
20 class QDateTimeUtc : public CheckBase
21 {
22 public:
23 using CheckBase::CheckBase;
24 void VisitStmt(clang::Stmt *stmt) override;
25 };
26
27 #endif