forked from qt-creator/qt-creator
tooltip for macro definitions.
This commit is contained in:
@@ -146,9 +146,9 @@ void Document::appendMacro(const Macro ¯o)
|
||||
_definedMacros.append(macro);
|
||||
}
|
||||
|
||||
void Document::addMacroUse(unsigned offset, unsigned length)
|
||||
void Document::addMacroUse(const Macro ¯o, unsigned offset, unsigned length)
|
||||
{
|
||||
_macroUses.append(Block(offset, offset + length));
|
||||
_macroUses.append(MacroUse(macro, offset, offset + length));
|
||||
}
|
||||
|
||||
TranslationUnit *Document::translationUnit() const
|
||||
|
Reference in New Issue
Block a user