forked from qt-creator/qt-creator
Merge branch '2.6'
Conflicts: src/libs/utils/consoleprocess_unix.cpp Change-Id: I196f61e882bfce94e165d9c724bffee9df1011b7
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
TypeUse,
|
||||
LocalUse,
|
||||
FieldUse,
|
||||
StaticUse,
|
||||
EnumerationUse,
|
||||
VirtualMethodUse,
|
||||
LabelUse,
|
||||
MacroUse,
|
||||
|
||||
Reference in New Issue
Block a user