From b56e5f8a10c1ec4fd3750bdd269fbad778820326 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 30 Jun 2021 12:52:01 -0400 Subject: [PATCH] [clangd] Unbreak mac build after 0c96a92d8666b8 That commit removed the include of Features.inc from ClangdLSPServer.h, but ClangdMain.cpp relied on this include to pull in Features.inc for the #if at the bottom of Transport.h. Since the include is needed in Transport.h, just add it to there directly. --- clang-tools-extra/clangd/Transport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/clang-tools-extra/clangd/Transport.h b/clang-tools-extra/clangd/Transport.h index ae6da72..b3db4eb 100644 --- a/clang-tools-extra/clangd/Transport.h +++ b/clang-tools-extra/clangd/Transport.h @@ -18,6 +18,7 @@ #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_TRANSPORT_H_ #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_TRANSPORT_H_ +#include "Features.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/JSON.h" #include "llvm/Support/raw_ostream.h" -- 2.7.4