This commit is contained in:
Jacob Dufault 2017-04-05 19:04:58 -07:00
parent dffbec25d0
commit d39d204891

View File

@ -74,4 +74,12 @@ StringView StringDb::GetString(const std::string& str) {
return StringView(it.first->c_str(), it.first->length());
}
StringView StringDb::GetString(CXString cx_string) {
assert(cx_string.data);
StringView result string=clang_getCString(cx_string);
clang_disposeString(cx_string);
}