forked from qt-creator/qt-creator
tooltip for macro definitions.
This commit is contained in:
@@ -302,14 +302,14 @@ void CppPreprocessor::macroAdded(const Macro ¯o)
|
||||
}
|
||||
|
||||
void CppPreprocessor::startExpandingMacro(unsigned offset,
|
||||
const Macro &,
|
||||
const Macro ¯o,
|
||||
const QByteArray &originalText)
|
||||
{
|
||||
if (! m_currentDoc)
|
||||
return;
|
||||
|
||||
//qDebug() << "start expanding:" << macro.name << "text:" << originalText;
|
||||
m_currentDoc->addMacroUse(offset, originalText.length());
|
||||
m_currentDoc->addMacroUse(macro, offset, originalText.length());
|
||||
}
|
||||
|
||||
void CppPreprocessor::stopExpandingMacro(unsigned, const Macro &)
|
||||
|
Reference in New Issue
Block a user