llvm-project/clang-tools-extra/test/clangd
Ilya Biryukov 38d79774d0 Restored r303067 and fixed failing test.
Summary:
This commit restores r303067(reverted by r303094) and fixes the 'formatting.test'
failure.
The failure is due to destructors of `ClangdLSPServer`'s fields(`FixItsMap` and
`FixItsMutex`) being called before destructor of `Server`. It led to the worker
thread calling `consumeDiagnostics` after `FixItsMutex` and `FixItsMap`
destructors were called.
Also, clangd is now run with '-run-synchronously' flag in 'formatting.test'.

Reviewers: bkramer, krasimir

Reviewed By: krasimir

Subscribers: mgorny, cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D33233

llvm-svn: 303151
2017-05-16 09:38:59 +00:00
..
completion.test [Clangd] Failed to decode params using 1.x-compatible request message 2017-04-21 15:51:23 +00:00
diagnostics.test Revert "XFAIL clangd tests on Windows" 2017-04-10 16:55:48 +00:00
fixits.test Revert "XFAIL clangd tests on Windows" 2017-04-10 16:55:48 +00:00
formatting.test Restored r303067 and fixed failing test. 2017-05-16 09:38:59 +00:00