llvm-project/clang-tools-extra/clangd
Ilya Biryukov ec5dbf5a7b [clangd] Add .cu files to VSCode extension
Summary:
clangd should be able to handle those with a proper compilation
database. However, users using 'nvcc' might start seeing spurious errors
in '.cu' files after this change.

My plan is to land and release this, but be ready to revert in
case of negative user feedback.

Reviewers: hokein

Reviewed By: hokein

Subscribers: ioeric, MaskRay, jkorous, arphaman, kadircet, jdoerfert, cfe-commits

Tags: #clang

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

llvm-svn: 356916
2019-03-25 16:18:56 +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] Add .cu files to VSCode extension 2019-03-25 16:18:56 +00:00
fuzzer [clangd] Use delimited style to make life easier for the fuzzer 2019-02-01 11:20:20 +00:00
include-mapping [clangd] Add std subnamespace symbols to the symbol map. 2019-03-25 13:14:10 +00:00
index Revert "[clangd] Print arguments in template specializations" 2019-03-20 22:51:56 +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 Revert "[clangd] Print arguments in template specializations" 2019-03-20 22:51: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 [clangd] Send empty diagnostics when a file is closed 2019-03-25 10:15:11 +00:00
ClangdLSPServer.h [clangd] Send empty diagnostics when a file is closed 2019-03-25 10:15:11 +00:00
ClangdServer.cpp [clangd] Add support for type hierarchy (super types only for now) 2019-03-19 09:27:04 +00:00
ClangdServer.h [clangd] Add support for type hierarchy (super types only for now) 2019-03-19 09:27:04 +00:00
ClangdUnit.cpp [clangd] Call the new ClangTidyCheck::registerPPCallbacks overload 2019-03-22 18:16:51 +00:00
ClangdUnit.h [clangd] Enable include insertion for static index 2019-02-04 16:19:57 +00:00
CodeComplete.cpp [clangd] Store explicit template specializations in index for code navigation purposes 2019-03-14 08:35:17 +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 [clangd] Add support for type hierarchy (super types only for now) 2019-03-19 09:27:04 +00:00
FindSymbols.h [clangd] Add support for type hierarchy (super types only for now) 2019-03-19 09:27:04 +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] 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 [clangd] Add support for type hierarchy (super types only for now) 2019-03-19 09:27:04 +00:00
Protocol.h [clangd] Add support for type hierarchy (super types only for now) 2019-03-19 09:27:04 +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
StdSymbolMap.inc [clangd] Add std subnamespace symbols to the symbol map. 2019-03-25 13:14:10 +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] Add support for type hierarchy (super types only for now) 2019-03-19 09:27:04 +00:00
XRefs.h [clangd] Add support for type hierarchy (super types only for now) 2019-03-19 09:27:04 +00:00