1//===--- ClangdMain.h - clangd main function ------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_TOOL_CLANGDMAIN_H
10#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_TOOL_CLANGDMAIN_H
11
12namespace clang {
13namespace clangd {
14// clangd main function (clangd server loop)
15int clangdMain(int argc, char *argv[]);
16} // namespace clangd
17} // namespace clang
18
19#endif // LLVM_CLANG_TOOLS_EXTRA_CLANGD_TOOL_CLANGDMAIN_H
20

source code of clang-tools-extra/clangd/tool/ClangdMain.h