forked from qt-creator/qt-creator
C++: highlighter clean-ups
- Moved TextEditor::SemanticHighlighter::Result to TextEditor::HighlightingResult - Moved SemanticInfo::UseKind to CppHighlightingSupport::Kind Change-Id: I14faab1891ca691a0691cfd9243edf19fcd3d3df Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -43,19 +43,7 @@ namespace CppTools {
|
||||
class CPPTOOLS_EXPORT SemanticInfo
|
||||
{
|
||||
public:
|
||||
enum UseKind {
|
||||
Unknown = 0,
|
||||
TypeUse,
|
||||
LocalUse,
|
||||
FieldUse,
|
||||
EnumerationUse,
|
||||
VirtualMethodUse,
|
||||
LabelUse,
|
||||
MacroUse,
|
||||
FunctionUse,
|
||||
PseudoKeywordUse
|
||||
};
|
||||
typedef TextEditor::SemanticHighlighter::Result Use;
|
||||
typedef TextEditor::HighlightingResult Use;
|
||||
|
||||
typedef QHash<CPlusPlus::Symbol *, QList<Use> > LocalUseMap;
|
||||
typedef QHashIterator<CPlusPlus::Symbol *, QList<Use> > LocalUseIterator;
|
||||
|
||||
Reference in New Issue
Block a user