[PATCH] D137401: [clangd] Rename QueryDriverDatabase.cpp to SystemIncludeExtractor.cpp

2022-11-07 Thread Nathan Ridge via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG428ac8f3a0f9: [clangd] Rename QueryDriverDatabase.cpp to 
SystemIncludeExtractor.cpp (authored by nridge).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137401/new/

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++-*-===//
+//===--- SystemIncludeExtractor.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


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++-*-===//
+//===--- SystemIncludeExtractor.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
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D137401: [clangd] Rename QueryDriverDatabase.cpp to SystemIncludeExtractor.cpp

2022-11-04 Thread Nathan Ridge via Phabricator via cfe-commits
nridge added a comment.

Follow-up to D133757 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137401/new/

https://reviews.llvm.org/D137401

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D137401: [clangd] Rename QueryDriverDatabase.cpp to SystemIncludeExtractor.cpp

2022-11-04 Thread Nathan Ridge via Phabricator via cfe-commits
nridge updated this revision to Diff 473161.
nridge added a comment.

fix comment


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137401/new/

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++-*-===//
+//===--- SystemIncludeExtractor.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


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++-*-===//
+//===--- SystemIncludeExtractor.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
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[PATCH] D137401: [clangd] Rename QueryDriverDatabase.cpp to SystemIncludeExtractor.cpp

2022-11-04 Thread Nathan Ridge via Phabricator via cfe-commits
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


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
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits