LLDB mainline
|
#include <TypeSystemClang.h>
Public Member Functions | |
TemplateParameterInfos ()=default | |
TemplateParameterInfos (llvm::ArrayRef< const char * > names_in, llvm::ArrayRef< clang::TemplateArgument > args_in) | |
TemplateParameterInfos (TemplateParameterInfos const &)=delete | |
TemplateParameterInfos (TemplateParameterInfos &&)=delete | |
TemplateParameterInfos & | operator= (TemplateParameterInfos const &)=delete |
TemplateParameterInfos & | operator= (TemplateParameterInfos &&)=delete |
~TemplateParameterInfos ()=default | |
bool | IsValid () const |
bool | IsEmpty () const |
size_t | Size () const |
llvm::ArrayRef< clang::TemplateArgument > | GetArgs () const |
llvm::ArrayRef< const char * > | GetNames () const |
clang::TemplateArgument const & | Front () const |
void | InsertArg (char const *name, clang::TemplateArgument arg) |
bool | hasParameterPack () const |
TemplateParameterInfos const & | GetParameterPack () const |
TemplateParameterInfos & | GetParameterPack () |
llvm::ArrayRef< clang::TemplateArgument > | GetParameterPackArgs () const |
bool | HasPackName () const |
llvm::StringRef | GetPackName () const |
void | SetPackName (char const *name) |
void | SetParameterPack (std::unique_ptr< TemplateParameterInfos > args) |
Private Attributes | |
llvm::SmallVector< const char *, 2 > | names |
Element 'names[i]' holds the template argument name of 'args[i]'. | |
llvm::SmallVector< clang::TemplateArgument, 2 > | args |
const char * | pack_name = nullptr |
std::unique_ptr< TemplateParameterInfos > | packed_args |
Definition at line 336 of file TypeSystemClang.h.
|
default |
|
inline |
Definition at line 339 of file TypeSystemClang.h.
References names.
|
delete |
|
delete |
|
default |
|
inline |
Definition at line 368 of file TypeSystemClang.h.
References args.
Referenced by ClassTemplateAllowsToInstantiationArgs(), and CreateTemplateParameterList().
|
inline |
Definition at line 365 of file TypeSystemClang.h.
References args.
Referenced by ClassTemplateAllowsToInstantiationArgs(), lldb_private::TypeSystemClang::CreateClassTemplateSpecializationDecl(), lldb_private::TypeSystemClang::CreateFunctionTemplateSpecializationInfo(), and CreateTemplateParameterList().
|
inline |
Definition at line 366 of file TypeSystemClang.h.
References names.
Referenced by CreateTemplateParameterList().
|
inline |
Definition at line 399 of file TypeSystemClang.h.
References HasPackName(), and pack_name.
Referenced by CreateTemplateParameterList().
|
inline |
Definition at line 387 of file TypeSystemClang.h.
References packed_args.
|
inline |
Definition at line 382 of file TypeSystemClang.h.
References packed_args.
Referenced by ClassTemplateAllowsToInstantiationArgs(), CreateTemplateParameterList(), and DWARFASTParserClang::ParseTemplateDIE().
|
inline |
Definition at line 392 of file TypeSystemClang.h.
References packed_args.
Referenced by lldb_private::TypeSystemClang::CreateClassTemplateSpecializationDecl().
|
inline |
Definition at line 397 of file TypeSystemClang.h.
References pack_name.
Referenced by CreateTemplateParameterList(), and GetPackName().
|
inline |
Definition at line 380 of file TypeSystemClang.h.
References packed_args.
Referenced by ClassTemplateAllowsToInstantiationArgs(), lldb_private::TypeSystemClang::CreateClassTemplateSpecializationDecl(), CreateTemplateParameterList(), and DWARFASTParserClang::ParseTemplateParameterInfos().
|
inline |
Definition at line 373 of file TypeSystemClang.h.
Referenced by DWARFASTParserClang::ParseTemplateDIE().
|
inline |
Definition at line 362 of file TypeSystemClang.h.
References args.
Referenced by ClassTemplateAllowsToInstantiationArgs(), CreateTemplateParameterList(), and DWARFASTParserClang::ParseTemplateParameterInfos().
|
inline |
Definition at line 353 of file TypeSystemClang.h.
References args, names, pack_name, and packed_args.
Referenced by lldb_private::TypeSystemClang::ParseClassTemplateDecl().
|
delete |
|
delete |
|
inline |
Definition at line 404 of file TypeSystemClang.h.
References pack_name.
Referenced by DWARFASTParserClang::ParseTemplateDIE().
|
inline |
Definition at line 406 of file TypeSystemClang.h.
References args, and packed_args.
Referenced by DWARFASTParserClang::ParseTemplateDIE().
|
inline |
Definition at line 363 of file TypeSystemClang.h.
References args.
Referenced by ClassTemplateAllowsToInstantiationArgs(), lldb_private::TypeSystemClang::CreateClassTemplateSpecializationDecl(), and CreateTemplateParameterList().
|
private |
Definition at line 414 of file TypeSystemClang.h.
Referenced by Front(), GetArgs(), InsertArg(), IsEmpty(), IsValid(), SetParameterPack(), and Size().
|
private |
Element 'names[i]' holds the template argument name of 'args[i]'.
Definition at line 413 of file TypeSystemClang.h.
Referenced by GetNames(), InsertArg(), IsValid(), and TemplateParameterInfos().
|
private |
Definition at line 416 of file TypeSystemClang.h.
Referenced by GetPackName(), HasPackName(), IsValid(), and SetPackName().
|
private |
Definition at line 417 of file TypeSystemClang.h.
Referenced by GetParameterPack(), GetParameterPackArgs(), hasParameterPack(), IsValid(), and SetParameterPack().