clang-tools  14.0.0git
Namespaces | Enumerations | Functions
ClangdMain.cpp File Reference
#include "ClangdLSPServer.h"
#include "CodeComplete.h"
#include "Config.h"
#include "ConfigProvider.h"
#include "Feature.h"
#include "PathMapping.h"
#include "Protocol.h"
#include "TidyProvider.h"
#include "Transport.h"
#include "index/Background.h"
#include "index/Index.h"
#include "index/Merge.h"
#include "index/ProjectAware.h"
#include "index/Serialization.h"
#include "index/remote/Client.h"
#include "refactor/Rename.h"
#include "support/Path.h"
#include "support/Shutdown.h"
#include "support/ThreadsafeFS.h"
#include "support/Trace.h"
#include "clang/Format/Format.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/Signals.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/raw_ostream.h"
#include <chrono>
#include <cstdlib>
#include <memory>
#include <mutex>
#include <string>
#include <thread>
#include <utility>
#include <vector>
#include <unistd.h>
Include dependency graph for ClangdMain.cpp:

Go to the source code of this file.

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::clangd
 

Enumerations

enum  ErrorResultCode : int { ErrorResultCode::NoShutdownRequest = 1, ErrorResultCode::CantRunAsXPCService = 2, ErrorResultCode::CheckFailed = 3 }
 

Functions

bool clang::clangd::check (llvm::StringRef File, llvm::function_ref< bool(const Position &)> ShouldCheckLine, const ThreadsafeFS &TFS, const ClangdLSPServer::Options &Opts, bool EnableCodeCompletion)
 
int main (int argc, char *argv[])
 

Enumeration Type Documentation

◆ ErrorResultCode

enum ErrorResultCode : int
strong
Enumerator
NoShutdownRequest 
CantRunAsXPCService 
CheckFailed 

Definition at line 670 of file ClangdMain.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)