hanchenye-llvm-project/clang-tools-extra/clangd
Haojian Wu 8dd26fd84e [clangd] Collect location of macro definition in the ParsedAST
allows semantic hightlighting macro definition

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

Tags: #clang

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

llvm-svn: 371504
2019-09-10 10:10:36 +00:00
..
benchmarks
clients/clangd-vscode [clangd] some tweaks on the vscode readme, NFC 2019-09-10 08:07:12 +00:00
fuzzer Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
include-mapping [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
index [clangd] Attempt to fix failing Windows buildbots. 2019-09-09 17:03:49 +00:00
indexer Changed FrontendActionFactory::create to return a std::unique_ptr 2019-08-29 16:38:36 +00:00
refactor [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
test [clangd] Add a new highlighting kind for typedefs 2019-09-09 14:33:10 +00:00
tool [clangd][NFC] Update background-index command line description 2019-08-29 14:38:02 +00:00
unittests [clangd] Collect location of macro definition in the ParsedAST 2019-09-10 10:10:36 +00:00
xpc [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
AST.cpp [clangd] Print qualifiers of out-of-line definitions in document outline 2019-08-14 12:51:04 +00:00
AST.h [clangd] Fix implicit template instatiations appearing as topLevelDecls. 2019-08-08 07:21:06 +00:00
CMakeLists.txt [clangd] Rename ClangdUnit.h -> ParsedAST.h. NFC 2019-09-04 09:46:06 +00:00
CSymbolMap.inc [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
Cancellation.cpp
Cancellation.h
ClangdLSPServer.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
ClangdLSPServer.h [clangd] Send highlighting diff beyond the end of the file. 2019-08-26 08:38:45 +00:00
ClangdServer.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
ClangdServer.h [clangd] Move getBeginningOfIdentifier from ClangdUnit to SourceCode. Drop dependencies on ClangdUnit from some headers. NFC 2019-09-03 15:34:47 +00:00
CodeComplete.cpp [clangd] Add TUScheduler.h to CodeComplete.cpp to unbreak builds 2019-09-04 13:04:34 +00:00
CodeComplete.h [clangd] Split Preamble.h out of ClangdUnit.h. NFC 2019-09-04 07:35:00 +00:00
CodeCompletionStrings.cpp Code completion should not ignore default parameters in functions. 2019-08-07 16:52:21 +00:00
CodeCompletionStrings.h [clangd] Place cursor better after completing patterns 2019-05-28 15:33:37 +00:00
Compiler.cpp [clangd] Surface errors from command-line parsing 2019-08-28 09:24:55 +00:00
Compiler.h [clangd] Split Preamble.h out of ClangdUnit.h. NFC 2019-09-04 07:35:00 +00:00
Context.cpp
Context.h [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
Diagnostics.cpp [clangd] Surface errors from command-line parsing 2019-08-28 09:24:55 +00:00
Diagnostics.h [clangd] Ignore diags from builtin files 2019-07-30 10:26:51 +00:00
DraftStore.cpp [clangd] Fix error message with incorrect TextDocumentcontentChangeEvent.rangeLength 2019-08-05 08:14:13 +00:00
DraftStore.h
ExpectedTypes.cpp [clangd] Compute expected type for templates 2019-05-28 13:56:21 +00:00
ExpectedTypes.h
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
FSProvider.h
Features.inc.in
FileDistance.cpp
FileDistance.h
FindSymbols.cpp [clangd] Rename ClangdUnit.h -> ParsedAST.h. NFC 2019-09-04 09:46:06 +00:00
FindSymbols.h [clangd] Type hierarchy subtypes 2019-06-16 02:31:37 +00:00
FindTarget.cpp [clangd] Remove redundant semi-colon. 2019-09-03 15:02:46 +00:00
FindTarget.h [clangd] Add targetDecl(), which determines what declaration an AST node refers to. 2019-09-03 11:35:50 +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] Separate chunks with a space when rendering markdown 2019-08-12 14:35:30 +00:00
FormattedString.h [clangd] Represent Hover result using FormattedString 2019-05-29 10:01:00 +00:00
Function.h [clangd] Remove Bind, use C++14 lambda captures instead. NFC 2019-08-16 09:20:01 +00:00
FuzzyMatch.cpp
FuzzyMatch.h
GlobalCompilationDatabase.cpp [clangd] Fix background index not triggering on windows due to case mismatch. 2019-07-26 14:07:11 +00:00
GlobalCompilationDatabase.h [clangd] Fix background index not triggering on windows due to case mismatch. 2019-07-26 14:07:11 +00:00
Headers.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
Headers.h [clangd][NFC] Typo in comment 2019-07-30 20:39:39 +00:00
IncludeFixer.cpp [clangd] Compute scopes eagerly in IncludeFixer 2019-08-06 11:37:50 +00:00
IncludeFixer.h [clangd] Compute scopes eagerly in IncludeFixer 2019-08-06 11:37:50 +00:00
JSONTransport.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
Logger.cpp
Logger.h
ParsedAST.cpp [clangd] Collect location of macro definition in the ParsedAST 2019-09-10 10:10:36 +00:00
ParsedAST.h [clangd] Collect location of macro definition in the ParsedAST 2019-09-10 10:10:36 +00:00
Path.h
Preamble.cpp [clangd] Use pre-populated mappings for standard symbols 2019-09-09 15:32:51 +00:00
Preamble.h [clangd] Split Preamble.h out of ClangdUnit.h. NFC 2019-09-04 07:35:00 +00:00
Protocol.cpp [clangd] Add a callback mechanism for handling responses from client. 2019-08-05 12:48:09 +00:00
Protocol.h [clangd] Initialize int field to zero. NFC 2019-09-05 15:30:05 +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 [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
RIFF.cpp
RIFF.h
Selection.cpp [clangd] Fix SelectionTree behavior on implicit 'this' 2019-09-04 12:15:20 +00:00
Selection.h [clangd] Move getBeginningOfIdentifier from ClangdUnit to SourceCode. Drop dependencies on ClangdUnit from some headers. NFC 2019-09-03 15:34:47 +00:00
SemanticHighlighting.cpp [clangd] Collect location of macro definition in the ParsedAST 2019-09-10 10:10:36 +00:00
SemanticHighlighting.h [clangd] Add a new highlighting kind for typedefs 2019-09-09 14:33:10 +00:00
SourceCode.cpp [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
SourceCode.h [clangd] Support multifile edits as output of Tweaks 2019-09-09 12:28:44 +00:00
StdSymbolMap.inc [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
TUScheduler.cpp [clangd] Rename ClangdUnit.h -> ParsedAST.h. NFC 2019-09-04 09:46:06 +00:00
TUScheduler.h [clangd] Move threading helper to more appropriate header. NFC 2019-09-04 09:53:24 +00:00
Threading.cpp [clangd] Use llvm::set_thread_priority in background-index 2019-04-18 13:46:40 +00:00
Threading.h [clangd] Remove obsolete includes. NFC 2019-09-04 10:01:05 +00:00
Trace.cpp [clangd] Remove obsolete includes. NFC 2019-09-04 10:01:05 +00:00
Trace.h [clangd] Remove obsolete includes. NFC 2019-09-04 10:01:05 +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 Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
URI.h
XRefs.cpp [clang][Index][NFC] Put IndexingOptions to a separate header 2019-09-06 20:08:32 +00:00
XRefs.h [clangd] Rename ClangdUnit.h -> ParsedAST.h. NFC 2019-09-04 09:46:06 +00:00