llvm-project/clang-tools-extra/clangd
Kadir Cetinkaya f3ae501d36 [clangd] Handle windows line endings in QueryDriver
Summary:
The previous patch did not fix the end mark. D64789
fixes second case of https://github.com/clangd/clangd/issues/93

Patch by @lh123 !

Reviewers: sammccall, kadircet

Reviewed By: kadircet

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

Tags: #clang-tools-extra, #clang

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

llvm-svn: 366545
2019-07-19 09:08:22 +00:00
..
benchmarks Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
clients/clangd-vscode [clangd] Detect C++ language based on well-known file path in vscode extension 2019-06-18 11:53:14 +00:00
fuzzer clangd-fuzzer: repair the build 2019-04-10 19:16:14 +00:00
include-mapping [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
index [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
indexer Revert Recommit "[CommandLine] Remove OptionCategory and SubCommand caches from the Option class." 2019-07-11 08:54:28 +00:00
refactor [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
test [clangd] Handle windows line endings in QueryDriver 2019-07-19 09:08:22 +00:00
tool [clangd] Don't run the prepare for tweaks that are disabled. 2019-07-12 08:50:20 +00:00
unittests [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
xpc Support codesigning bundles and forcing 2019-05-30 22:25:48 +00:00
AST.cpp [clangd] Suppress unwritten scopes when expanding auto. 2019-07-18 15:13:45 +00:00
AST.h [clangd] Suppress unwritten scopes when expanding auto. 2019-07-18 15:13:45 +00:00
CMakeLists.txt [clangd] Refactor background-index shard loading 2019-07-18 16:25:36 +00:00
CSymbolMap.inc [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
Cancellation.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Cancellation.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ClangdLSPServer.cpp [clangd] Implement typeHierarchy/resolve for subtypes 2019-07-13 03:24:48 +00:00
ClangdLSPServer.h [clangd] Implement typeHierarchy/resolve for subtypes 2019-07-13 03:24:48 +00:00
ClangdServer.cpp [clangd] BackgroundIndex stores shards to the closest project 2019-07-18 17:20:41 +00:00
ClangdServer.h [clangd] Implement typeHierarchy/resolve for subtypes 2019-07-13 03:24:48 +00:00
ClangdUnit.cpp [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
ClangdUnit.h [clangd] Collect tokens of main files when building the AST 2019-06-19 14:03:19 +00:00
CodeComplete.cpp [clangd] Fix off-by-one in CodeComplete and assertion in Dex 2019-07-12 20:35:41 +00:00
CodeComplete.h [clangd] Use -completion-style=bundled by default if signature help is available 2019-07-08 17:27:15 +00:00
CodeCompletionStrings.cpp [clangd] Place cursor better after completing patterns 2019-05-28 15:33:37 +00:00
CodeCompletionStrings.h [clangd] Place cursor better after completing patterns 2019-05-28 15:33:37 +00:00
Compiler.cpp [clangd] Stop passing around PCHContainerOperations, just create it in place. NFC 2019-04-04 12:56:03 +00:00
Compiler.h [clangd] Wait for compile command in ASTWorker instead of ClangdServer 2019-04-15 12:32:28 +00:00
Context.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Context.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Diagnostics.cpp [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
Diagnostics.h [clangd] Respect WarningsAsErrors configuration for clang-tidy 2019-05-19 04:19:14 +00:00
DraftStore.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DraftStore.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ExpectedTypes.cpp [clangd] Compute expected type for templates 2019-05-28 13:56:21 +00:00
ExpectedTypes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FS.cpp [clangd] Get rid of dots and dotsdots within GlobalCompilationDatabase 2019-07-18 16:13:23 +00:00
FS.h [clangd] Get rid of dots and dotsdots within GlobalCompilationDatabase 2019-07-18 16:13:23 +00:00
FSProvider.cpp [clangd] Unlink VFS working dir from OS working dir. Reland of r351051 2019-02-15 11:04:25 +00:00
FSProvider.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Features.inc.in [clangd] XPC transport layer 2019-01-16 00:24:22 +00:00
FileDistance.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FileDistance.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FindSymbols.cpp [clangd] Type hierarchy subtypes 2019-06-16 02:31:37 +00:00
FindSymbols.h [clangd] Type hierarchy subtypes 2019-06-16 02:31:37 +00:00
Format.cpp [clangd] Fix gcc warning by removing extra ";" 2019-06-11 06:02:01 +00:00
Format.h [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
FormattedString.cpp [clangd] Show documentation in hover, and fetch docs from index if needed. 2019-07-09 17:59:50 +00:00
FormattedString.h [clangd] Represent Hover result using FormattedString 2019-05-29 10:01:00 +00:00
Function.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FuzzyMatch.cpp [clangd] Tune the fuzzy-matching algorithm 2019-03-15 14:00:49 +00:00
FuzzyMatch.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GlobalCompilationDatabase.cpp [clangd] Get rid of dots and dotsdots within GlobalCompilationDatabase 2019-07-18 16:13:23 +00:00
GlobalCompilationDatabase.h [clangd] Reland rL365634 2019-07-11 09:54:31 +00:00
Headers.cpp [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
Headers.h [clangd] Don't insert absolute paths, give up instead. 2019-07-08 18:07:46 +00:00
IncludeFixer.cpp [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
IncludeFixer.h Moved Symbol into its own header and implementation file 2019-02-28 13:23:03 +00:00
JSONTransport.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Logger.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Logger.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Path.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Protocol.cpp [clangd] Implement typeHierarchy/resolve for subtypes 2019-07-13 03:24:48 +00:00
Protocol.h [clangd] Implement typeHierarchy/resolve for subtypes 2019-07-13 03:24:48 +00:00
Quality.cpp [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
Quality.h [clangd] Remove unused signature help quality signal. NFC 2019-06-06 08:32:25 +00:00
QueryDriverDatabase.cpp [clangd] Handle windows line endings in QueryDriver 2019-07-19 09:08:22 +00:00
RIFF.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RIFF.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Selection.cpp [clangd] Implementation of auto type expansion. 2019-07-11 16:04:18 +00:00
Selection.h [clangd] Implementation of auto type expansion. 2019-07-11 16:04:18 +00:00
SemanticHighlighting.cpp [clangd] Added highlightings for template parameters and specializations. 2019-07-18 09:56:38 +00:00
SemanticHighlighting.h [clangd] Added highlightings for template parameters and specializations. 2019-07-18 09:56:38 +00:00
SourceCode.cpp [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
SourceCode.h [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
StdSymbolMap.inc [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
TUScheduler.cpp [clangd] Prioritize indexing of files that share a basename with the open file. 2019-07-12 10:18:42 +00:00
TUScheduler.h [clangd] Prioritize indexing of files that share a basename with the open file. 2019-07-12 10:18:42 +00:00
Threading.cpp [clangd] Use llvm::set_thread_priority in background-index 2019-04-18 13:46:40 +00:00
Threading.h [clangd] Use llvm::set_thread_priority in background-index 2019-04-18 13:46:40 +00:00
Trace.cpp [clangd] Use JSON streaming API for Trace rather than pasting strings. NFC 2019-04-25 16:37:07 +00:00
Trace.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Transport.h [clangd] Use #if CLANGD_BUILD_XPC because it may be defined as 0 2019-04-10 15:45:54 +00:00
URI.cpp [clangd] Avoid slow ostreams in URI conversion. 2019-07-08 02:46:21 +00:00
URI.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
XRefs.cpp [clangd] cleanup: unify the implemenation of checking a location is inside main file. 2019-07-19 08:33:39 +00:00
XRefs.h [clangd] Implement typeHierarchy/resolve for subtypes 2019-07-13 03:24:48 +00:00