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

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

#include <Decl.h>

Collaboration diagram for clang::QualifierInfo:
[legend]

Public Member Functions

 QualifierInfo ()
 Default constructor. More...
 
void setTemplateParameterListsInfo (ASTContext &Context, ArrayRef< TemplateParameterList * > TPLists)
 setTemplateParameterListsInfo - Sets info about "outer" template parameter lists. More...
 

Public Attributes

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

Detailed Description

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

Definition at line 613 of file Decl.h.

Constructor & Destructor Documentation

clang::QualifierInfo::QualifierInfo ( )
inline

Default constructor.

Definition at line 630 of file Decl.h.

Member Function Documentation

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

setTemplateParameterListsInfo - Sets info about "outer" template parameter lists.

Definition at line 1750 of file Decl.cpp.

References Context, clang::ASTContext::Deallocate(), NumTemplParamLists, and TemplParamLists.

Referenced by clang::TagDecl::setTemplateParameterListsInfo().

Member Data Documentation

unsigned clang::QualifierInfo::NumTemplParamLists

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

Referenced by clang::ASTRecordWriter::AddQualifierInfo(), clang::ASTReader::ReadQualifierInfo(), and setTemplateParameterListsInfo().

NestedNameSpecifierLoc clang::QualifierInfo::QualifierLoc
TemplateParameterList** clang::QualifierInfo::TemplParamLists

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

Referenced by clang::ASTRecordWriter::AddQualifierInfo(), clang::ASTReader::ReadQualifierInfo(), and setTemplateParameterListsInfo().


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