llvm-project/clang-tools-extra/clangd/unittests
Shaurya Gupta 8fbb6ce847 Fixed toHalfOpenFileRange assertion fail
Summary:
- Added new function that gets Expansion range with both ends in the same file.
- Fixes the crash at https://github.com/clangd/clangd/issues/113

Subscribers: ilya-biryukov, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

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

llvm-svn: 368058
2019-08-06 17:01:12 +00:00
..
xpc [clangd][xpc] Fix XPC unittests 2019-04-29 19:41:30 +00:00
ASTTests.cpp [clangd] Implementation of auto type expansion. 2019-07-11 16:04:18 +00:00
Annotations.cpp
Annotations.h
BackgroundIndexTests.cpp Revert "Revert r366458, r366467 and r366468" 2019-07-19 10:18:52 +00:00
CMakeLists.txt [clangd] Add new helpers to make tweak tests scale better. Convert most tests. NFC 2019-08-02 09:12:39 +00:00
CancellationTests.cpp
CanonicalIncludesTests.cpp [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
ClangdTests.cpp [clangd] Reland rL365634 2019-07-11 09:54:31 +00:00
ClangdUnitTests.cpp [clangd] Stop recording tokens before running clang-tidy 2019-07-10 09:28:35 +00:00
CodeCompleteTests.cpp [clangd] Add missing braces to completion tests. NFC 2019-08-01 11:05:06 +00:00
CodeCompletionStringsTests.cpp [clangd] Place cursor better after completing patterns 2019-05-28 15:33:37 +00:00
ContextTests.cpp
DexTests.cpp [clangd] Index API and implementations for relations 2019-06-15 02:26:47 +00:00
DiagnosticsTests.cpp [clangd] Compute scopes eagerly in IncludeFixer 2019-08-06 11:37:50 +00:00
DraftStoreTests.cpp
ExpectedTypeTest.cpp [clangd] Compute expected type for templates 2019-05-28 13:56:21 +00:00
FSTests.cpp [clangd] Make PreambleStatusCache handle filenames more carefully 2019-07-01 10:11:18 +00:00
FileDistanceTests.cpp
FileIndexTests.cpp [clangd] Perform merge for main file symbols. 2019-06-17 14:49:18 +00:00
FindSymbolsTests.cpp [clangd] Qualify uses of ::testing everywhere. NFC 2019-05-06 10:08:47 +00:00
FormatTests.cpp [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
FormattedStringTests.cpp [clangd] Show documentation in hover, and fetch docs from index if needed. 2019-07-09 17:59:50 +00:00
FunctionTests.cpp
FuzzyMatchTests.cpp [clangd] Qualify uses of ::testing everywhere. NFC 2019-05-06 10:08:47 +00:00
GlobalCompilationDatabaseTests.cpp [clangd] Get rid of dots and dotsdots within GlobalCompilationDatabase 2019-07-18 16:13:23 +00:00
HeadersTests.cpp [clangd] Don't insert absolute paths, give up instead. 2019-07-08 18:07:46 +00:00
IndexActionTests.cpp [clangd] Add HadErrors field into shards 2019-07-04 09:52:04 +00:00
IndexTests.cpp [clangd] Index API and implementations for relations 2019-06-15 02:26:47 +00:00
JSONTransportTests.cpp
Matchers.h
PrintASTTests.cpp Fix gcc compilation warning in test case [NFC] 2019-05-09 12:12:35 +00:00
QualityTests.cpp [clangd] Boost code completion results that were named in the last few lines. 2019-05-06 10:25:10 +00:00
RIFFTests.cpp
RenameTests.cpp [clangd] Show better message when we rename macros. 2019-07-01 09:26:48 +00:00
SelectionTests.cpp [clangd] Ignore semicolons, whitespace, and comments in SelectionTree. 2019-07-31 17:52:40 +00:00
SemanticHighlightingTests.cpp [clangd] Duplicate lines of semantic highlightings sent removed. 2019-08-01 08:08:44 +00:00
SerializationTests.cpp [clangd] Use xxhash instead of SHA1 for background index file digests. 2019-07-08 11:33:17 +00:00
SourceCodeTests.cpp Fixed toHalfOpenFileRange assertion fail 2019-08-06 17:01:12 +00:00
SymbolCollectorTests.cpp [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
SymbolInfoTests.cpp [clangd] Qualify uses of ::testing everywhere. NFC 2019-05-06 10:08:47 +00:00
SyncAPI.cpp [clangd] Add a flag to clangdServer rename function to control whether we want format the replacements. 2019-07-10 13:44:22 +00:00
SyncAPI.h
TUSchedulerTests.cpp [clangd] Provide a way to publish highlightings in non-racy manner 2019-07-19 13:51:01 +00:00
TestFS.cpp [clangd] Remove the extra ";", NFC 2019-07-11 12:31:18 +00:00
TestFS.h [clangd] Reland rL365634 2019-07-11 09:54:31 +00:00
TestIndex.cpp
TestIndex.h
TestScheme.h
TestTU.cpp [clangd] Force the required interpretation of #import on windows tests. 2019-07-17 13:21:25 +00:00
TestTU.h [clangd] Respect WarningsAsErrors configuration for clang-tidy 2019-05-19 04:19:14 +00:00
ThreadingTests.cpp
TraceTests.cpp
TweakTesting.cpp Fix "not all control paths return a value" warning. NFCI. 2019-08-02 12:55:04 +00:00
TweakTesting.h [clangd] Add new helpers to make tweak tests scale better. Convert most tests. NFC 2019-08-02 09:12:39 +00:00
TweakTests.cpp [clangd] Add new helpers to make tweak tests scale better. Convert most tests. NFC 2019-08-02 09:12:39 +00:00
TypeHierarchyTests.cpp [clangd] Type hierarchy: don't resolve parents if the client only asked for children 2019-07-17 15:26:49 +00:00
URITests.cpp
XRefsTests.cpp [clangd] Fix a crash when presenting values for Hover 2019-08-02 15:23:04 +00:00
lit.cfg.py [clangd] Restore conventional names for lit configs, and .in/.py split. Fix build_mode indirection. 2019-05-02 08:00:39 +00:00
lit.site.cfg.py.in [clangd] Restore conventional names for lit configs, and .in/.py split. Fix build_mode indirection. 2019-05-02 08:00:39 +00:00