| 1 |
/* |
| 2 |
SPDX-FileCopyrightText: 2017 Sergio Martins <[email protected]> |
| 3 |
|
| 4 |
SPDX-License-Identifier: LGPL-2.0-or-later |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef CLAZY_QPROPERTY_WITHOUT_NOTIFY_H |
| 8 |
#define CLAZY_QPROPERTY_WITHOUT_NOTIFY_H |
| 9 |
|
| 10 |
#include "checkbase.h" |
| 11 |
|
| 12 |
/** |
| 13 |
* See README-qproperty-without-notify.md for more info. |
| 14 |
*/ |
| 15 |
class QPropertyWithoutNotify : public CheckBase |
| 16 |
{ |
| 17 |
public: |
| 18 |
using CheckBase::CheckBase; |
| 19 |
|
| 20 |
private: |
| 21 |
void VisitMacroExpands(const clang::Token &MacroNameTok, const clang::SourceRange &range, const clang::MacroInfo *minfo = nullptr) override; |
| 22 |
|
| 23 |
bool m_lastIsGadget = false; |
| 24 |
}; |
| 25 |
|
| 26 |
#endif |