From d86ad2e359c59e20eb3bf855fd73e61a711bbda0 Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Mon, 5 Feb 2018 10:14:16 +0000 Subject: [PATCH] [clangd] Expclictly set the init value of -assume-header-dir option, NFC. llvm-svn: 324220 --- .../clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: