Clang: Add current and visible editor message

Change-Id: Ifd88bc032388ae7a8d3dbc0f1f5746665074cc18
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-11-25 15:29:28 +01:00
committed by Nikolai Kosjar
parent 9310c02bc8
commit 8c3959534d
18 changed files with 341 additions and 50 deletions

View File

@@ -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);