tooltip for macro definitions.

This commit is contained in:
Roberto Raggi
2008-12-09 15:23:47 +01:00
parent 4a552ead9f
commit 20e36cc364
6 changed files with 73 additions and 22 deletions

View File

@@ -146,9 +146,9 @@ void Document::appendMacro(const Macro &macro)
_definedMacros.append(macro);
}
void Document::addMacroUse(unsigned offset, unsigned length)
void Document::addMacroUse(const Macro &macro, unsigned offset, unsigned length)
{
_macroUses.append(Block(offset, offset + length));
_macroUses.append(MacroUse(macro, offset, offset + length));
}
TranslationUnit *Document::translationUnit() const