forked from OSchip/llvm-project
[clangd] Fixed MSVC compilation failures.
llvm-svn: 309705
This commit is contained in:
parent
f6b2e770ea
commit
e925caf416
|
@ -104,6 +104,10 @@ private:
|
|||
// Provides thread-safe access to ParsedAST.
|
||||
class ParsedASTWrapper {
|
||||
public:
|
||||
// MSVC does not allow to use types without default constructor in
|
||||
// std::promise<> template arguments.
|
||||
ParsedASTWrapper() = default;
|
||||
|
||||
ParsedASTWrapper(ParsedASTWrapper &&Wrapper);
|
||||
ParsedASTWrapper(llvm::Optional<ParsedAST> AST);
|
||||
|
||||
|
|
Loading…
Reference in New Issue