[PATCH] D119806: [clangd][NFC] includes missing headers

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 14 20:48:58 PST 2022


cjdb created this revision.
cjdb added a reviewer: sammccall.
Herald added subscribers: usaxena95, kadircet, arphaman.
cjdb requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

`Shutdown.h` was transitively depending on two headers, but this isn't
allowed under a modules build, so they're now explicitly included.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119806

Files:
  clang-tools-extra/clangd/support/Shutdown.h


Index: clang-tools-extra/clangd/support/Shutdown.h
===================================================================
--- clang-tools-extra/clangd/support/Shutdown.h
+++ clang-tools-extra/clangd/support/Shutdown.h
@@ -45,6 +45,8 @@
 
 #include <cerrno>
 #include <chrono>
+#include <type_traits>
+#include <utility>
 
 namespace clang {
 namespace clangd {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119806.408701.patch
Type: text/x-patch
Size: 358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220215/8067b7c3/attachment.bin>


More information about the cfe-commits mailing list