forked from qt-creator/qt-creator
Clang: Handle Q_ENUM() and Q_FLAG() in qt5-qobjectdefs-injected.h
Q_ENUM() and Q_FLAG() were added in Qt 5.5.0. This fixes among others red/wiggly underlines of these macro's uses. Change-Id: I059ebcc32cc271f4960b11e722e23c314c5ceac7 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -57,6 +57,8 @@
|
||||
#define Q_OVERRIDE(text)
|
||||
#define Q_ENUMS(x)
|
||||
#define Q_FLAGS(x)
|
||||
#define Q_ENUM(x)
|
||||
#define Q_FLAG(x)
|
||||
#define Q_SCRIPTABLE
|
||||
#define Q_INVOKABLE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user