diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-01-03 17:24:03 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-01-03 16:47:12 +0000 |
commit | a8f1f758a511e89e82ecdc615037dd33d7767c7e (patch) | |
tree | 0febd08a89bf833265a5b18ea859bdcc233d4b77 /share | |
parent | 1dab84e96e56fe9f08bad0e7a6fa9dcc780a99f0 (diff) | |
download | qt-creator-a8f1f758a511e89e82ecdc615037dd33d7767c7e.tar.gz |
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>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h b/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h index 57c938b55f..7408559858 100644 --- a/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h +++ b/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h @@ -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 |