clang 20.0.0git
|
A struct with extended info about a syntactic name qualifier, to be used for the case of out-of-line declarations. More...
#include "clang/AST/Decl.h"
Public Member Functions | |
QualifierInfo ()=default | |
QualifierInfo (const QualifierInfo &)=delete | |
QualifierInfo & | operator= (const QualifierInfo &)=delete |
void | setTemplateParameterListsInfo (ASTContext &Context, ArrayRef< TemplateParameterList * > TPLists) |
Sets info about "outer" template parameter lists. | |
Public Attributes | |
NestedNameSpecifierLoc | QualifierLoc |
unsigned | NumTemplParamLists = 0 |
The number of "outer" template parameter lists. | |
TemplateParameterList ** | TemplParamLists = nullptr |
A new-allocated array of size NumTemplParamLists, containing pointers to the "outer" template parameter lists. | |
A struct with extended info about a syntactic name qualifier, to be used for the case of out-of-line declarations.
|
default |
|
delete |
|
delete |
void QualifierInfo::setTemplateParameterListsInfo | ( | ASTContext & | Context, |
ArrayRef< TemplateParameterList * > | TPLists | ||
) |
Sets info about "outer" template parameter lists.
Definition at line 2090 of file Decl.cpp.
References clang::ASTContext::Deallocate(), NumTemplParamLists, and TemplParamLists.
Referenced by clang::TagDecl::setTemplateParameterListsInfo().
unsigned clang::QualifierInfo::NumTemplParamLists = 0 |
The number of "outer" template parameter lists.
The count includes all of the template parameter lists that were matched against the template-ids occurring into the NNS and possibly (in the case of an explicit specialization) a final "template <>".
Definition at line 715 of file Decl.h.
Referenced by clang::ASTRecordWriter::AddQualifierInfo(), clang::TagDecl::getNumTemplateParameterLists(), clang::ASTRecordReader::readQualifierInfo(), and setTemplateParameterListsInfo().
NestedNameSpecifierLoc clang::QualifierInfo::QualifierLoc |
Definition at line 709 of file Decl.h.
Referenced by clang::ASTRecordWriter::AddQualifierInfo(), clang::TagDecl::getQualifier(), clang::TagDecl::getQualifierLoc(), clang::ASTRecordReader::readQualifierInfo(), and clang::TagDecl::setQualifierInfo().
TemplateParameterList** clang::QualifierInfo::TemplParamLists = nullptr |
A new-allocated array of size NumTemplParamLists, containing pointers to the "outer" template parameter lists.
It includes all of the template parameter lists that were matched against the template-ids occurring into the NNS and possibly (in the case of an explicit specialization) a final "template <>".
Definition at line 722 of file Decl.h.
Referenced by clang::ASTRecordWriter::AddQualifierInfo(), clang::TagDecl::getTemplateParameterList(), clang::ASTRecordReader::readQualifierInfo(), and setTemplateParameterListsInfo().