forked from qt-creator/qt-creator
Clang: Fix tagging of slots with CONFIG+=no_keywords
For the CONFIG+=no_keywords case, Q_SLOTS expanded to the undefined "slots". Task-number: QTCREATORBUG-17371 Change-Id: I7891e4b0595647aa02c97c9f80d61f3f5459a61a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef Q_SLOTS
|
||||
# define Q_SLOTS slots __attribute__((annotate("qt_slot")))
|
||||
# define Q_SLOTS __attribute__((annotate("qt_slot")))
|
||||
#endif
|
||||
|
||||
#ifdef Q_SIGNAL
|
||||
|
Reference in New Issue
Block a user