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:
Nikolai Kosjar
2017-01-03 17:24:03 +01:00
parent 1dab84e96e
commit a8f1f758a5

View File

@@ -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