mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-19 03:55:49 +00:00
wip
This commit is contained in:
parent
dffbec25d0
commit
d39d204891
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user