forked from qt-creator/qt-creator
Clang: Add current and visible editor message
Change-Id: Ifd88bc032388ae7a8d3dbc0f1f5746665074cc18 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
9310c02bc8
commit
8c3959534d
@@ -269,6 +269,14 @@ void PrintTo(const Utf8String &text, ::std::ostream* os)
|
||||
*os << "\"" << text.toByteArray().data() << "\"";
|
||||
}
|
||||
|
||||
std::ostream& operator<<(std::ostream &os, const Utf8String &utf8String)
|
||||
{
|
||||
using std::ostream;
|
||||
os << utf8String.constData();
|
||||
|
||||
return os;
|
||||
}
|
||||
|
||||
uint qHash(const Utf8String &utf8String)
|
||||
{
|
||||
return qHash(utf8String.byteArray);
|
||||
|
||||
Reference in New Issue
Block a user