clang  19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::QualifierInfo Struct Reference

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
 
QualifierInfooperator= (const QualifierInfo &)=delete
 
void setTemplateParameterListsInfo (ASTContext &Context, ArrayRef< TemplateParameterList * > TPLists)
 Sets info about "outer" template parameter lists. More...
 

Public Attributes

NestedNameSpecifierLoc QualifierLoc
 
unsigned NumTemplParamLists = 0
 The number of "outer" template parameter lists. More...
 
TemplateParameterList ** TemplParamLists = nullptr
 A new-allocated array of size NumTemplParamLists, containing pointers to the "outer" template parameter lists. More...
 

Detailed Description

A struct with extended info about a syntactic name qualifier, to be used for the case of out-of-line declarations.

Definition at line 744 of file Decl.h.

Constructor & Destructor Documentation

◆ QualifierInfo() [1/2]

clang::QualifierInfo::QualifierInfo ( )
default

◆ QualifierInfo() [2/2]

clang::QualifierInfo::QualifierInfo ( const QualifierInfo )
delete

Member Function Documentation

◆ operator=()

QualifierInfo& clang::QualifierInfo::operator= ( const QualifierInfo )
delete

◆ setTemplateParameterListsInfo()

void QualifierInfo::setTemplateParameterListsInfo ( ASTContext Context,
ArrayRef< TemplateParameterList * >  TPLists 
)

Sets info about "outer" template parameter lists.

Definition at line 2102 of file Decl.cpp.

Member Data Documentation

◆ NumTemplParamLists

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 751 of file Decl.h.

Referenced by clang::ASTRecordWriter::AddQualifierInfo(), clang::TagDecl::getNumTemplateParameterLists(), and clang::ASTRecordReader::readQualifierInfo().

◆ QualifierLoc

NestedNameSpecifierLoc clang::QualifierInfo::QualifierLoc

◆ TemplParamLists

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 758 of file Decl.h.

Referenced by clang::ASTRecordWriter::AddQualifierInfo(), clang::TagDecl::getTemplateParameterList(), and clang::ASTRecordReader::readQualifierInfo().


The documentation for this struct was generated from the following files: