mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-28 02:21:57 +00:00
clang.pathMappings: use >
instead of :
as the separator
This commit is contained in:
parent
4276c2b383
commit
f3cfdb2781
@ -20,7 +20,7 @@ Config *g_config;
|
||||
|
||||
void DoPathMapping(std::string &arg) {
|
||||
for (const std::string &mapping : g_config->clang.pathMappings) {
|
||||
auto colon = mapping.find(':');
|
||||
auto colon = mapping.find('>');
|
||||
if (colon != std::string::npos) {
|
||||
auto p = arg.find(mapping.substr(0, colon));
|
||||
if (p != std::string::npos)
|
||||
|
Loading…
Reference in New Issue
Block a user