[clangd] Expclictly set the init value of -assume-header-dir option, NFC.
authorHaojian Wu <hokein@google.com>
Mon, 5 Feb 2018 10:14:16 +0000 (10:14 +0000)
committerHaojian Wu <hokein@google.com>
Mon, 5 Feb 2018 10:14:16 +0000 (10:14 +0000)
llvm-svn: 324220

clang-tools-extra/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp

index d2ea7e5..5b3cea2 100644 (file)
@@ -41,7 +41,8 @@ static llvm::cl::opt<std::string> AssumedHeaderDir(
                    "If the absolute path cannot be determined (e.g. an "
                    "in-memory VFS) then the relative path is resolved against "
                    "this directory, which must be absolute. If this flag is "
-                   "not given, such headers will have relative paths."));
+                   "not given, such headers will have relative paths."),
+    llvm::cl::init(""));
 
 class SymbolIndexActionFactory : public tooling::FrontendActionFactory {
 public: