forked from qt-creator/qt-creator
C++ editor: Better control to stop the semantic highlighter
Done-by: Roberto Raggi Reviewed-by: Leandro Melo Reviewed-by: mae
This commit is contained in:
@@ -244,6 +244,7 @@ public:
|
||||
, objcRetainId(0)
|
||||
, objcCopyId(0)
|
||||
, objcNonatomicId(0)
|
||||
, processor(0)
|
||||
{}
|
||||
|
||||
~Data()
|
||||
@@ -531,6 +532,7 @@ public:
|
||||
const Identifier *objcRetainId;
|
||||
const Identifier *objcCopyId;
|
||||
const Identifier *objcNonatomicId;
|
||||
TopLevelDeclarationProcessor *processor;
|
||||
};
|
||||
|
||||
Control::Control()
|
||||
@@ -809,3 +811,13 @@ void Control::squeeze()
|
||||
{
|
||||
d->numericLiterals.reset();
|
||||
}
|
||||
|
||||
TopLevelDeclarationProcessor *Control::topLevelDeclarationProcessor() const
|
||||
{
|
||||
return d->processor;
|
||||
}
|
||||
|
||||
void Control::setTopLevelDeclarationProcessor(CPlusPlus::TopLevelDeclarationProcessor *processor)
|
||||
{
|
||||
d->processor = processor;
|
||||
}
|
||||
|
Reference in New Issue
Block a user