forked from qt-creator/qt-creator
Editor: rename "Static" in Font & Colors settings
to more clearer "Enumeration" Change-Id: I785edb6d31a4cd6a0875549f80bcf791ad61587a Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
committed by
Leandro Melo
parent
f47a916c53
commit
33f8a42503
@@ -485,7 +485,7 @@ bool CheckSymbols::visit(UsingDirectiveAST *)
|
||||
|
||||
bool CheckSymbols::visit(EnumeratorAST *ast)
|
||||
{
|
||||
addUse(ast->identifier_token, SemanticInfo::StaticUse);
|
||||
addUse(ast->identifier_token, SemanticInfo::EnumerationUse);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1163,7 +1163,7 @@ bool CheckSymbols::maybeAddTypeOrStatic(const QList<LookupItem> &candidates, Nam
|
||||
|
||||
UseKind kind = SemanticInfo::TypeUse;
|
||||
if (c->enclosingEnum() != 0)
|
||||
kind = SemanticInfo::StaticUse;
|
||||
kind = SemanticInfo::EnumerationUse;
|
||||
|
||||
const Use use(line, column, length, kind);
|
||||
addUse(use);
|
||||
|
||||
Reference in New Issue
Block a user