forked from qt-creator/qt-creator
Clang: Cleanup IPC code
Change-Id: I29571801b4093337e2c7cc1eec51cfcd07b3bdc5 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -422,13 +422,15 @@ void HighlightingMark::collectKinds(CXTranslationUnit cxTranslationUnit,
|
||||
}
|
||||
}
|
||||
|
||||
void PrintTo(const HighlightingMark &information, ::std::ostream *os)
|
||||
std::ostream &operator<<(std::ostream &os, const HighlightingMark& highlightingMark)
|
||||
{
|
||||
*os << "type: ";
|
||||
PrintTo(information.types, os);
|
||||
*os << " line: " << information.line
|
||||
<< " column: " << information.column
|
||||
<< " length: " << information.length;
|
||||
os << "(type: " << highlightingMark.types << ", "
|
||||
<< " line: " << highlightingMark.line << ", "
|
||||
<< " column: " << highlightingMark.column << ", "
|
||||
<< " length: " << highlightingMark.length
|
||||
<< ")";
|
||||
|
||||
return os;
|
||||
}
|
||||
|
||||
} // namespace ClangBackEnd
|
||||
|
||||
Reference in New Issue
Block a user