clang-tools 19.0.0git
UnimplementedClient.cpp
Go to the documentation of this file.
1//===--- UnimplementedClient.cpp ---------------------------------*- C++-*-===//
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
10#include "support/Logger.h"
11#include "llvm/ADT/StringRef.h"
12
13namespace clang {
14namespace clangd {
15namespace remote {
16
17std::unique_ptr<clangd::SymbolIndex> getClient(llvm::StringRef Address,
18 llvm::StringRef IndexRoot) {
19 elog("Can't create SymbolIndex client without Remote Index support.");
20 return nullptr;
21}
22
23} // namespace remote
24} // namespace clangd
25} // namespace clang
std::unique_ptr< clangd::SymbolIndex > getClient(llvm::StringRef Address, llvm::StringRef ProjectRoot)
Returns an SymbolIndex client that passes requests to remote index located at Address.
Definition: Client.cpp:185
void elog(const char *Fmt, Ts &&... Vals)
Definition: Logger.h:61
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//