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