llvm-project/clang-tools-extra/unittests/clangd
Ilya Biryukov 12aa52fe22 [clangd] Fix data race in ClangdThreadingTest.StressTest
Prior to this patch, same instance of VFS was shared for concurrent
processing of the files in ClangdThreadingTest.StressTest.

It caused a data race as the same instance of InMemoryFileSystem was
mutated from multiple threads using setCurrentWorkingDirectory().

llvm-svn: 325132
2018-02-14 15:19:20 +00:00
..
Annotations.cpp [clangd] Better handling symbols defined in macros. 2018-01-31 12:56:51 +00:00
Annotations.h [clangd] Update include guard in Annotations.h. NFC 2018-02-08 12:46:34 +00:00
CMakeLists.txt [clangd] Remove codeComplete that returns std::future<> 2018-02-12 11:37:28 +00:00
ClangdTests.cpp [clangd] Fix data race in ClangdThreadingTest.StressTest 2018-02-14 15:19:20 +00:00
ClangdUnitTests.cpp [clangd] Pass Context implicitly using TLS. 2018-01-31 13:40:48 +00:00
CodeCompleteTests.cpp [clangd] Stop exposing Futures from ClangdServer operations. 2018-02-13 08:59:23 +00:00
CodeCompletionStringsTests.cpp [clangd] Pull CodeCompletionString handling logic into its own file and add unit test. 2017-12-20 17:24:31 +00:00
ContextTests.cpp [clangd] Introduced a Context that stores implicit data 2017-12-12 11:16:45 +00:00
FileIndexTests.cpp [clangd] Pass Context implicitly using TLS. 2018-01-31 13:40:48 +00:00
FuzzyMatchTests.cpp [clangd] Fix uninitialized-read found by asan 2018-01-13 16:46:26 +00:00
IndexTests.cpp [clangd] Collect definitions when indexing. 2018-02-09 14:42:01 +00:00
JSONExprTests.cpp [clangd] New conventions for JSON-marshalling functions, centralize machinery 2017-11-30 21:32:29 +00:00
Matchers.h [clangd] Fix crash when CompilerInvocation can't be created. 2018-02-09 13:51:57 +00:00
SourceCodeTests.cpp [clangd] Explicitly initialize all primitive fields in Protocol.h 2018-02-14 10:52:04 +00:00
SymbolCollectorTests.cpp [clangd] SymbolLocation only covers symbol name. 2018-02-13 09:53:50 +00:00
SyncAPI.cpp [clangd] Remove codeComplete that returns std::future<> 2018-02-12 11:37:28 +00:00
SyncAPI.h [clangd] Remove codeComplete that returns std::future<> 2018-02-12 11:37:28 +00:00
TUSchedulerTests.cpp Resubmit "[clangd] The new threading implementation" 2018-02-08 07:37:35 +00:00
TestFS.cpp [clangd] Fixed findDefinitions to always return absolute paths. 2018-02-13 17:47:16 +00:00
TestFS.h [clangd] Fixed findDefinitions to always return absolute paths. 2018-02-13 17:47:16 +00:00
ThreadingTests.cpp [clangd] Stop exposing Futures from ClangdServer operations. 2018-02-13 08:59:23 +00:00
TraceTests.cpp [clangd] Pass Context implicitly using TLS. 2018-01-31 13:40:48 +00:00
URITests.cpp [clangd] Do not precent-encode numbers in URI. 2018-02-07 12:12:06 +00:00
XRefsTests.cpp [clangd] Fixed findDefinitions to always return absolute paths. 2018-02-13 17:47:16 +00:00