From f3cfdb27814a3f22aff7d2e723f321062a2ddb86 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 23 Mar 2019 07:12:25 -0700 Subject: [PATCH] clang.pathMappings: use `>` instead of `:` as the separator --- src/config.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.cc b/src/config.cc index fd607730..de0e82e1 100644 --- a/src/config.cc +++ b/src/config.cc @@ -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)