forked from qt-creator/qt-creator
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>
This commit is contained in:
10
src/libs/3rdparty/cplusplus/Token.h
vendored
10
src/libs/3rdparty/cplusplus/Token.h
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user