aboutsummaryrefslogtreecommitdiffstats
path: root/src/checks/level2/missing-qobject-macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/checks/level2/missing-qobject-macro.h')
-rw-r--r--src/checks/level2/missing-qobject-macro.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/checks/level2/missing-qobject-macro.h b/src/checks/level2/missing-qobject-macro.h
index 8b7cfc24..d3ed477d 100644
--- a/src/checks/level2/missing-qobject-macro.h
+++ b/src/checks/level2/missing-qobject-macro.h
@@ -36,14 +36,14 @@ class SourceLocation;
*
* See README-missing-qobject for more information
*/
-class MissingQ_OBJECT : public CheckBase
+class MissingQObjectMacro : public CheckBase
{
public:
- explicit MissingQ_OBJECT(const std::string &name, ClazyContext *context);
+ explicit MissingQObjectMacro(const std::string &name, ClazyContext *context);
void VisitDecl(clang::Decl *decl) override;
private:
void VisitMacroExpands(const clang::Token &MacroNameTok,
- const clang::SourceRange &range) override;
+ const clang::SourceRange &range, const clang::MacroInfo *minfo = nullptr) override;
void registerQ_OBJECT(clang::SourceLocation);
std::vector<clang::SourceLocation> m_qobjectMacroLocations;
};