diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-01-16 10:51:13 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-05-16 14:06:04 +0000 |
commit | 837cb2e3974b4b8d157be8234adcd11b226a7caf (patch) | |
tree | fbcd833998a7572b2775d0e2e185d5bddb2177ce /src/libs/3rdparty | |
parent | 5bc796094accf4f63d6a821b55daeb718506cb1a (diff) | |
download | qt-creator-837cb2e3974b4b8d157be8234adcd11b226a7caf.tar.gz |
CppEditor: Do not highlight C++ and Qt keywords for C
Task-number: QTCREATORBUG-2818
Task-number: QTCREATORBUG-18004
Change-Id: Ibca60a1711c827dd8b4c0486bff3d49b19a61d8b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/libs/3rdparty')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Token.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libs/3rdparty/cplusplus/Token.h b/src/libs/3rdparty/cplusplus/Token.h index c460f59582..7cf9fca3f3 100644 --- a/src/libs/3rdparty/cplusplus/Token.h +++ b/src/libs/3rdparty/cplusplus/Token.h @@ -407,6 +407,16 @@ struct LanguageFeatures return features; } + bool operator==(const LanguageFeatures &other) const + { + return flags == other.flags; + } + + bool operator!=(const LanguageFeatures &other) const + { + return flags != other.flags; + } + union { unsigned int flags; struct { |