[clangd] Trim spaces around parsed include in include extractor

llvm-svn: 365632
This commit is contained in:
Kadir Cetinkaya 2019-07-10 13:59:13 +00:00
parent 6b043f0518
commit fbafaf48fe
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ std::vector<std::string> parseDriverOutput(llvm::StringRef Output) {
}
for (llvm::StringRef Line : llvm::make_range(StartIt, EndIt)) {
SystemIncludes.push_back(Line.str());
SystemIncludes.push_back(Line.trim().str());
vlog("System include extraction: adding {0}", Line);
}
return SystemIncludes;