forked from OSchip/llvm-project
ClangdMain.cpp: this #ifdef should be an #if
CLANGD_ENABLE_REMOTE is always defined; to 0 or 1.
This commit is contained in:
parent
216b67e202
commit
40d11a8780
|
@ -696,7 +696,7 @@ clangd accepts flags on the commandline, and in the CLANGD_FLAGS environment var
|
|||
if (Sync)
|
||||
AsyncIndexLoad.wait();
|
||||
}
|
||||
#ifdef CLANGD_ENABLE_REMOTE
|
||||
#if CLANGD_ENABLE_REMOTE
|
||||
if (RemoteIndexAddress.empty() != ProjectRoot.empty()) {
|
||||
llvm::errs() << "remote-index-address and project-path have to be "
|
||||
"specified at the same time.";
|
||||
|
|
Loading…
Reference in New Issue