[PATCH] D137401: [clangd] Rename QueryDriverDatabase.cpp to SystemIncludeExtractor.cpp
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 4 01:40:13 PDT 2022
nridge created this revision.
nridge added a reviewer: sammccall.
Herald added subscribers: kadircet, arphaman.
Herald added a project: All.
nridge requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137401
Files:
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/QueryDriverDatabase.cpp
clang-tools-extra/clangd/SystemIncludeExtractor.cpp
Index: clang-tools-extra/clangd/SystemIncludeExtractor.cpp
===================================================================
--- clang-tools-extra/clangd/SystemIncludeExtractor.cpp
+++ 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);
Index: clang-tools-extra/clangd/CMakeLists.txt
===================================================================
--- clang-tools-extra/clangd/CMakeLists.txt
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137401.473160.patch
Type: text/x-patch
Size: 1412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221104/f4172229/attachment.bin>
More information about the cfe-commits
mailing list