mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
Remove unused function
This commit is contained in:
parent
3f44307268
commit
6cdb7c66e1
@ -200,16 +200,6 @@ bool FindFileOrFail(QueryDatabase* db, lsRequestId id, const std::string& absolu
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
QueryFile* FindFile(QueryDatabase* db, const std::string& absolute_path) {
|
|
||||||
auto it = db->usr_to_file.find(LowerPathIfCaseInsensitive(absolute_path));
|
|
||||||
if (it != db->usr_to_file.end()) {
|
|
||||||
optional<QueryFile>& file = db->files[it->second.id];
|
|
||||||
if (file)
|
|
||||||
return &file.value();
|
|
||||||
}
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void PublishInactiveLines(WorkingFile* working_file, const std::vector<Range>& inactive) {
|
void PublishInactiveLines(WorkingFile* working_file, const std::vector<Range>& inactive) {
|
||||||
Out_CquerySetInactiveRegion out;
|
Out_CquerySetInactiveRegion out;
|
||||||
|
Loading…
Reference in New Issue
Block a user