diff --git a/clang-tools-extra/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp b/clang-tools-extra/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp index d2ea7e5616a0..5b3cea2fcbe7 100644 --- a/clang-tools-extra/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp +++ b/clang-tools-extra/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp @@ -41,7 +41,8 @@ static llvm::cl::opt 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: