[TargetVersion] Only enable on RISC-V and AArch64 (#115991)
[llvm-project.git] / clang-tools-extra / clangd / index / remote / unimplemented / UnimplementedClient.cpp
bloba4d3127e0455332b46ce7aef874b5e7f8ca2382b
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 //===----------------------------------------------------------------------===//
9 #include "index/remote/Client.h"
10 #include "support/Logger.h"
11 #include "llvm/ADT/StringRef.h"
13 namespace clang {
14 namespace clangd {
15 namespace remote {
17 std::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;
23 } // namespace remote
24 } // namespace clangd
25 } // namespace clang