<div dir="ltr">Ah, that's why... Thank you again and apologies for inconovinience!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 27, 2020 at 3:06 PM Hans Wennborg via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">hans added inline comments.<br>
<br>
<br>
================<br>
Comment at: clang-tools-extra/clangd/tool/ClangdMain.cpp:702<br>
}<br>
+ if (RemoteIndexAddress.empty() != ProjectPath.empty()) {<br>
+ llvm::errs() << "remote-index-address and project-path have to be "<br>
----------------<br>
hokein wrote:<br>
> the new code section here should be guarded under `#ifdef CLANGD_ENABLE_REMOTE`<br>
I think it should be an #if since the macro is always defined (0 or 1). Doing that in 40d11a878044711708fb6738e4b78a4c9ac3de7b<br>
<br>
<br>
Repository:<br>
rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
<a href="https://reviews.llvm.org/D83817/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D83817/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D83817" rel="noreferrer" target="_blank">https://reviews.llvm.org/D83817</a><br>
<br>
<br>
<br>
</blockquote></div>