hanchenye-llvm-project/clang-tools-extra/clangd
Kadir Cetinkaya a7cdfd9cb5 [clangd] Respect Origin option in createStaticIndexingAction
Summary:
Currently createStaticIndexingAction always set Origin to Static, which
makes it hard to change it later on by different indexers(One needs to go over
each symbol making a new copy).

This patch changes that behavior to rather respect it if set by user.

Reviewers: ioeric

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

Tags: #clang

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

llvm-svn: 355820
2019-03-11 11:01:14 +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] Bump vscode-clangd v0.0.11 2019-02-06 15:29:54 +00:00
fuzzer [clangd] Use delimited style to make life easier for the fuzzer 2019-02-01 11:20:20 +00:00
index [clangd] Respect Origin option in createStaticIndexingAction 2019-03-11 11:01:14 +00:00
indexer [clangd] Deduplicate Refs on the fly. 2019-03-08 09:26:30 +00:00
refactor Revamp the "[clangd] Format tweak's replacements" 2019-02-11 15:18:11 +00:00
tool [clangd] Enable SuggestMissingIncludes by default. 2019-03-01 14:17:55 +00:00
xpc Fix file headers. NFC 2019-03-01 09:52:53 +00:00
AST.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AST.h Moved Ref into its own header and implementation file 2019-02-28 13:49:25 +00:00
CMakeLists.txt Moved Ref into its own header and implementation file 2019-02-28 13:49:25 +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 Remove trailing semicolon. NFCI. 2019-02-03 14:08:30 +00:00
ClangdLSPServer.h [clangd] Implement textDocument/declaration from LSP 3.14 2019-02-01 11:26:13 +00:00
ClangdServer.cpp [NFC][clangd] Remove unused lambda capture 2019-02-11 22:36:47 +00:00
ClangdServer.h [clangd] Implement textDocument/declaration from LSP 3.14 2019-02-01 11:26:13 +00:00
ClangdUnit.cpp [clangd] Add Source to clangd::Diagnostic. 2019-03-06 10:51:38 +00:00
ClangdUnit.h [clangd] Enable include insertion for static index 2019-02-04 16:19:57 +00:00
CodeComplete.cpp Moved Symbol into its own header and implementation file 2019-02-28 13:23:03 +00:00
CodeComplete.h Moved Symbol into its own header and implementation file 2019-02-28 13:23:03 +00:00
CodeCompletionStrings.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CodeCompletionStrings.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Compiler.cpp [clangd] NFC: Use buildCompilerInvocation in CodeComplete 2019-01-22 09:58:53 +00:00
Compiler.h Revamp the "[clangd] Format tweak's replacements" 2019-02-11 15:18:11 +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] Add Source to clangd::Diagnostic. 2019-03-06 10:51:38 +00:00
Diagnostics.h [clangd] Add Source to clangd::Diagnostic. 2019-03-06 10:51:38 +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 Added missing license headers 2019-02-28 14:01:11 +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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FS.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FindSymbols.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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] Adjust compile commands to be applicable for tooling 2019-03-08 08:38:25 +00:00
GlobalCompilationDatabase.h [clangd] Filter out plugin related flags and move all commandline manipulations into OverlayCDB. 2019-01-22 09:10:20 +00:00
Headers.cpp [clangd] Suggest adding missing includes for incomplete type diagnostics. 2019-01-28 14:01:55 +00:00
Headers.h Moved Symbol into its own header and implementation file 2019-02-28 13:23:03 +00:00
IncludeFixer.cpp Moved Ref into its own header and implementation file 2019-02-28 13:49:25 +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 Moved Ref into its own header and implementation file 2019-02-28 13:49:25 +00:00
Protocol.h [clangd] Interfaces for writing code tweaks 2019-01-29 14:17:36 +00:00
Quality.cpp Moved Ref into its own header and implementation file 2019-02-28 13:49:25 +00:00
Quality.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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] Fix a crash in Selection 2019-02-20 19:26:39 +00:00
Selection.h [clangd] Lib to compute and represent selection under cursor. 2019-02-01 15:05:11 +00:00
SourceCode.cpp [clangd] Format tweak's replacements. 2019-02-06 15:24:50 +00:00
SourceCode.h [ELF] Format lines inadvertently indented by rCTE353380 2019-02-07 15:38:14 +00:00
TUScheduler.cpp [clangd] Enable include insertion for static index 2019-02-04 16:19:57 +00:00
TUScheduler.h [clangd] Enable include insertion for static index 2019-02-04 16:19:57 +00:00
Threading.cpp [clangd] Set thread priority on Windows 2019-02-27 10:16:03 +00:00
Threading.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Trace.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
URI.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +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] Make sure constructors do not reference class 2019-03-08 09:54:37 +00:00
XRefs.h [clangd] Implement textDocument/declaration from LSP 3.14 2019-02-01 11:26:13 +00:00