From: Nico Weber Date: Wed, 30 Jun 2021 16:52:01 +0000 (-0400) Subject: [clangd] Unbreak mac build after 0c96a92d8666b8 X-Git-Tag: llvmorg-14-init~2590 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b56e5f8a10c1ec4fd3750bdd269fbad778820326;p=platform%2Fupstream%2Fllvm.git [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. --- 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"