clang-tools 20.0.0git
|
Represents parameters of a function, a template or a macro. More...
#include <Hover.h>
Public Attributes | |
std::optional< PrintedType > | Type |
The printable parameter type, e.g. | |
std::optional< std::string > | Name |
std::nullopt for unnamed parameters. | |
std::optional< std::string > | Default |
std::nullopt if no default is provided. | |
Represents parameters of a function, a template or a macro.
For example:
std::optional<std::string> clang::clangd::HoverInfo::Param::Default |
std::nullopt if no default is provided.
Definition at line 53 of file Hover.h.
Referenced by clang::clangd::operator<<(), and clang::clangd::operator==().
std::optional<std::string> clang::clangd::HoverInfo::Param::Name |
std::nullopt for unnamed parameters.
Definition at line 51 of file Hover.h.
Referenced by clang::clangd::operator<<(), and clang::clangd::operator==().
std::optional<PrintedType> clang::clangd::HoverInfo::Param::Type |
The printable parameter type, e.g.
"int", or "typename" (in TemplateParameters), might be std::nullopt for macro parameters.
Definition at line 49 of file Hover.h.
Referenced by clang::clangd::operator<<(), and clang::clangd::operator==().