diff --git a/clang-tools-extra/clangd/CMakeLists.txt b/clang-tools-extra/clangd/CMakeLists.txt --- a/clang-tools-extra/clangd/CMakeLists.txt +++ b/clang-tools-extra/clangd/CMakeLists.txt @@ -97,7 +97,7 @@ SemanticHighlighting.cpp SemanticSelection.cpp SourceCode.cpp - QueryDriverDatabase.cpp + SystemIncludeExtractor.cpp TidyProvider.cpp TUScheduler.cpp URI.cpp diff --git a/clang-tools-extra/clangd/QueryDriverDatabase.cpp b/clang-tools-extra/clangd/SystemIncludeExtractor.cpp rename from clang-tools-extra/clangd/QueryDriverDatabase.cpp rename to clang-tools-extra/clangd/SystemIncludeExtractor.cpp --- a/clang-tools-extra/clangd/QueryDriverDatabase.cpp +++ b/clang-tools-extra/clangd/SystemIncludeExtractor.cpp @@ -1,4 +1,4 @@ -//===--- QueryDriverDatabase.cpp ---------------------------------*- C++-*-===// +//===--- SystemIncludeExttor.cpp ---------------------------------*- C++-*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -344,7 +344,7 @@ llvm::SmallString<128> Driver(Cmd.CommandLine.front()); if (llvm::any_of(Driver, - [](char C) { return llvm::sys::path::is_separator(C); })) + [](char C) { return llvm::sys::path::is_separator(C); })) // Driver is a not a single executable name but instead a path (either // relative or absolute). llvm::sys::fs::make_absolute(Cmd.Directory, Driver);