<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62733>62733</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
fails to build with `clangd/index/remote/Client.cpp: expected unqualified-id`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clangd,
build-problem
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sylvestre
</td>
</tr>
</table>
<pre>
On linux, with main:
```
/build/source/build-llvm/./bin/clang++ -DCLANG_REPOSITORY_STRING="\"++20230516071722+4054c68644df-1~exp1~20230516071738.666\"" -DGOOGLE_PROTOBUF_NO_RTTI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/tools/extra/clangd/index/remote -I/build/source/clang-tools-extra/clangd/index/remote -I/build/source/clang-tools-extra/clangd/../include-cleaner/include -Itools/clang/tools/extra/clangd/../clang-tidy -I/build/source/clang/include -Itools/clang/include -Iinclude -I/build/source/llvm/include -I/build/source/clang-tools-extra/clangd -Itools/clang/tools/extra/clangd -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -ffile-prefix-map=/build/source/build-llvm/tools/clang/stage2-bins=build-llvm/tools/clang/stage2-bins -ffile-prefix-map=/build/source/= -no-canonical-prefixes -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O2 -DNDEBUG -g1 -fno-exceptions -funwind-tables -std=c++17 -MD -MT tools/clang/tools/extra/clangd/index/remote/CMakeFiles/obj.clangdRemoteIndex.dir/Client.cpp.o -MF tools/clang/tools/extra/clangd/index/remote/CMakeFiles/obj.clangdRemoteIndex.dir/Client.cpp.o.d -o tools/clang/tools/extra/clangd/index/remote/CMakeFiles/obj.clangdRemoteIndex.dir/Client.cpp.o -c /build/source/clang-tools-extra/clangd/index/remote/Client.cpp
/build/source/clang-tools-extra/clangd/index/remote/Client.cpp:71:48: error: expected unqualified-id
trace::Span Tracer(RequestT::descriptor()->name());
^
/build/source/clang-tools-extra/clangd/index/remote/Client.cpp:71:17: error: no matching constructor for initialization of 'trace::Span'
trace::Span Tracer(RequestT::descriptor()->name());
^
/build/source/clang-tools-extra/clangd/index/remote/Client.cpp:133:5: note: in instantiation of function template specialization 'clang::clangd::remote::(anonymous namespace)::IndexClient::streamRPC<clang::clangd::remote::LookupRequest, clang::clangd::remote::LookupReply, clang::clangd::LookupRequest, llvm::function_ref<void (const clang::clangd::Symbol &)>>' requested here
streamRPC(Request, &remote::v1::SymbolIndex::Stub::Lookup, Callback);
^
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzUV0GP4rgS_jXmYhkFJwT6wIEmTQtpuhkBI7Qn5NiV4B3HztoO3bzD_vYnJ6Fhdqfn9e7TjrRSlMTlqq_8lctlmzknSw0wQ-N7NM4GrPFHY2furE7gvIVBbsR5ttZYSd28IrrAL9IfccWkRvEcRRmK5iiN-qdrdm-6zBupBKJLZxrL4SIgSp0qRJfDIJAa0SVXTJeI3iN6j0m2-DR_fjxsHj6vt6vdevPLYbvbrJ4fUZwhStF4Ed6tLo1oHI1HaTQZTVpZEo0Tnk7TJBEFGf0Or_Xo91uleDpM0_QCQTHJHtfrx08Ph8-b9W59_2V5eF4fNrvdCsXZCJPs8Pj85bBdf9ksHkLrsN1li8Ni_bzdzZ93h6f5YrPeXjuW683T_M_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