clang API Documentation

Public Member Functions | Public Attributes
clang::QualifierInfo Struct Reference

#include <Decl.h>

Inheritance diagram for clang::QualifierInfo:
Inheritance graph
[legend]
Collaboration diagram for clang::QualifierInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QualifierInfo ()
 Default constructor.
void setTemplateParameterListsInfo (ASTContext &Context, unsigned NumTPLists, TemplateParameterList **TPLists)

Public Attributes

NestedNameSpecifierLoc QualifierLoc
unsigned NumTemplParamLists
TemplateParameterList ** TemplParamLists

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


Constructor & Destructor Documentation

Default constructor.

Definition at line 527 of file Decl.h.


Member Function Documentation

void QualifierInfo::setTemplateParameterListsInfo ( ASTContext Context,
unsigned  NumTPLists,
TemplateParameterList **  TPLists 
)

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

Definition at line 1668 of file Decl.cpp.

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

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


Member Data Documentation

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

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

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

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


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