Author: hokein Date: Mon Feb 5 02:14:16 2018 New Revision: 324220 URL: http://llvm.org/viewvc/llvm-project?rev=324220&view=rev Log: [clangd] Expclictly set the init value of -assume-header-dir option, NFC.
Modified: clang-tools-extra/trunk/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp Modified: clang-tools-extra/trunk/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp?rev=324220&r1=324219&r2=324220&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp (original) +++ clang-tools-extra/trunk/clangd/global-symbol-builder/GlobalSymbolBuilderMain.cpp Mon Feb 5 02:14:16 2018 @@ -41,7 +41,8 @@ static llvm::cl::opt<std::string> Assume "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: _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits