From e5610c6ae241cfe8f233518db1c55b3532c838bd Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Wed, 28 Mar 2018 12:44:16 +0200 Subject: [PATCH] Clang: Clean up qobjectdefs.h * Remove unneeded #include that might lead to false diagnostics * Fix typo Change-Id: I38a3bbe07dbcb33f004c7b7a2a4ca4a90fb77350 Reviewed-by: Ivan Donchevskii --- .../qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h b/share/qtcreator/cplusplus/wrappedQtHeaders/QtCore/qobjectdefs.h index aad3de8f27d..e2338223db7 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 - #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