hanchenye-llvm-project/clang-tools-extra/unittests/clangd
Sam McCall 034e11aca5 [clangd] Add ClangdUnit diagnostics tests using annotated code.
Summary:
This adds checks that our diagnostics emit correct ranges in a bunch of cases,
as promised in D41118.

The diagnostics-preamble test is also converted and extended to be a little more
precise.

diagnostics.test stays around as the smoke test for this feature.

Reviewers: ilya-biryukov

Subscribers: klimek, mgorny, cfe-commits

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

llvm-svn: 323448
2018-01-25 17:29:17 +00:00
..
Annotations.cpp [clangd] Remove an unused lambda capture. 2017-12-20 17:22:56 +00:00
Annotations.h [clangd] Switch xrefs and documenthighlight to annotated-code unit tests. NFC 2017-12-20 16:06:05 +00:00
CMakeLists.txt [clangd] Add ClangdUnit diagnostics tests using annotated code. 2018-01-25 17:29:17 +00:00
ClangdTests.cpp [clangd] Provide a helper to report estimated memory usage per-file 2018-01-25 14:32:21 +00:00
ClangdUnitTests.cpp [clangd] Add ClangdUnit diagnostics tests using annotated code. 2018-01-25 17:29:17 +00:00
CodeCompleteTests.cpp [clangd] Disable typo correction when doing code completion. 2018-01-25 09:44:06 +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] Change index scope convention from "outer::inner" to "outer::inner::" 2018-01-19 22:18:21 +00:00
FuzzyMatchTests.cpp [clangd] Fix uninitialized-read found by asan 2018-01-13 16:46:26 +00:00
IndexTests.cpp [clangd] Use fuzzy match to select top N index results. 2018-01-18 08:35:04 +00:00
JSONExprTests.cpp [clangd] New conventions for JSON-marshalling functions, centralize machinery 2017-11-30 21:32:29 +00:00
Matchers.h [clangd] Switch xrefs and documenthighlight to annotated-code unit tests. NFC 2017-12-20 16:06:05 +00:00
SourceCodeTests.cpp [clangd] Add debug printers for basic protocol types. NFC 2017-12-20 10:26:53 +00:00
SymbolCollectorTests.cpp [clangd] Change index scope convention from "outer::inner" to "outer::inner::" 2018-01-19 22:18:21 +00:00
TestFS.cpp [clangd] Remove unused test param. NFC 2017-12-05 07:34:35 +00:00
TestFS.h [clangd] Remove unused test param. NFC 2017-12-05 07:34:35 +00:00
TraceTests.cpp [clangd] Implemented tracing using Context 2017-12-14 15:04:59 +00:00
URITests.cpp [clangd] Try to fix build bot failue in r323101 2018-01-22 13:03:25 +00:00
XRefsTests.cpp [clangd] Don't navigate to forward class declaration when go to definition. 2018-01-12 14:21:10 +00:00