[clang-tools-extra] d7b1c84 - [clangd][NFC] includes missing headers

Christopher Di Bella via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 15 09:45:46 PST 2022


Author: Christopher Di Bella
Date: 2022-02-15T17:44:47Z
New Revision: d7b1c840ba4e1f8c04fe1c5455242629893c7e3a

URL: https://github.com/llvm/llvm-project/commit/d7b1c840ba4e1f8c04fe1c5455242629893c7e3a
DIFF: https://github.com/llvm/llvm-project/commit/d7b1c840ba4e1f8c04fe1c5455242629893c7e3a.diff

LOG: [clangd][NFC] includes missing headers

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

Differential Revision: https://reviews.llvm.org/D119806

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/support/Shutdown.h b/clang-tools-extra/clangd/support/Shutdown.h
index 896e1521fe6a1..e295576c1fda0 100644
--- a/clang-tools-extra/clangd/support/Shutdown.h
+++ b/clang-tools-extra/clangd/support/Shutdown.h
@@ -45,6 +45,8 @@
 
 #include <cerrno>
 #include <chrono>
+#include <type_traits>
+#include <utility>
 
 namespace clang {
 namespace clangd {


        


More information about the cfe-commits mailing list