clang-tools 20.0.0git
|
Extends Locations returned by textDocument/references with extra info. More...
#include <Protocol.h>
Public Attributes | |
std::optional< std::string > | containerName |
clangd extension: contains the name of the function or class in which the reference occurs | |
Public Attributes inherited from clang::clangd::Location | |
URIForFile | uri |
The text document's URI. | |
Range | range |
Extends Locations returned by textDocument/references with extra info.
This is a clangd extension: LSP uses Location
.
Definition at line 233 of file Protocol.h.
std::optional<std::string> clang::clangd::ReferenceLocation::containerName |
clangd extension: contains the name of the function or class in which the reference occurs
Definition at line 236 of file Protocol.h.
Referenced by clang::clangd::toJSON().