[clang-tools-extra] 529441e - Fix another #ifdef CLANGD_ENABLE_REMOTE

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 27 05:12:12 PDT 2020


Author: Hans Wennborg
Date: 2020-07-27T14:11:29+02:00
New Revision: 529441e88e81a2e7dae6108e3d95e043c670e1a6

URL: https://github.com/llvm/llvm-project/commit/529441e88e81a2e7dae6108e3d95e043c670e1a6
DIFF: https://github.com/llvm/llvm-project/commit/529441e88e81a2e7dae6108e3d95e043c670e1a6.diff

LOG: Fix another #ifdef CLANGD_ENABLE_REMOTE

Added: 
    

Modified: 
    clang-tools-extra/clangd/tool/ClangdMain.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp
index f04dad7186df..0d4267774c92 100644
--- a/clang-tools-extra/clangd/tool/ClangdMain.cpp
+++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -450,7 +450,7 @@ opt<bool> EnableConfig{
     init(true),
 };
 
-#ifdef CLANGD_ENABLE_REMOTE
+#if CLANGD_ENABLE_REMOTE
 opt<std::string> RemoteIndexAddress{
     "remote-index-address",
     cat(Features),


        


More information about the cfe-commits mailing list