This reverts
b56e5f8a10c1 (and follow-up
f6db88535cb) and instead
restores the state we had before
0c96a92d8666b8: ClangdMain.cpp
includes Features.inc before including Transport.h.
This is a bit ugly, but it matches the former state and making Transport.h
include Features.h means that xpc/ needs to be able to find the generated
Features.inc, wich is also a bit ugly.
#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"
//
//===----------------------------------------------------------------------===//
+// Must be before Transport.h include.
+#include "Features.h"
+
#include "ClangdLSPServer.h"
#include "CodeComplete.h"
#include "Config.h"
#include "ConfigProvider.h"
-#include "Features.h"
#include "PathMapping.h"
#include "Protocol.h"
#include "TidyProvider.h"
deps = [
":conversions",
"//clang-tools-extra/clangd",
- "//clang-tools-extra/clangd:features",
"//clang-tools-extra/clangd/support",
"//llvm/lib/Support",
]