diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-03-28 12:44:16 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2018-04-11 07:18:21 +0000 |
commit | e5610c6ae241cfe8f233518db1c55b3532c838bd (patch) | |
tree | 8b8c9be455edff06cef6c5a3d1a6c2a87bbb9463 /share | |
parent | d44ed66a9f32d91ee62748f095f222faa5a7b875 (diff) |
Clang: Clean up qobjectdefs.h
* Remove unneeded #include that might lead to false diagnostics
* Fix typo
Change-Id: I38a3bbe07dbcb33f004c7b7a2a4ca4a90fb77350
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h b/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h index aad3de8f27..e2338223db 100644 --- a/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h +++ b/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h @@ -29,8 +29,6 @@ #ifndef WRAPPED_QOBJECT_DEFS_H #define WRAPPED_QOBJECT_DEFS_H -#include <utility> - #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wmacro-redefined" #pragma clang diagnostic ignored "-Wgnu-string-literal-operator-template" @@ -60,7 +58,7 @@ # define Q_SLOT __attribute__((annotate("qt_slot"))) #endif -// static_assert can be found as a class child but does not add extra AST nodes for copmpletion +// static_assert can be found as a class child but does not add extra AST nodes for completion #define Q_PROPERTY(arg) static_assert("Q_PROPERTY", #arg); #pragma clang diagnostic pop |