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

Data that is common to all of the declarations of a given function template. More...

#include <DeclTemplate.h>

Inheritance diagram for clang::FunctionTemplateDecl::Common:
[legend]
Collaboration diagram for clang::FunctionTemplateDecl::Common:
[legend]

Public Member Functions

 Common ()
 
- Public Member Functions inherited from clang::RedeclarableTemplateDecl::CommonBase
 CommonBase ()
 

Public Attributes

llvm::FoldingSetVector
< FunctionTemplateSpecializationInfo
Specializations
 The function template specializations for this function template, including explicit specializations and instantiations. More...
 
TemplateArgumentInjectedArgs
 The set of "injected" template arguments used within this function template. More...
 
uint32_t * LazySpecializations
 If non-null, points to an array of specializations known only by their external declaration IDs. More...
 
- Public Attributes inherited from clang::RedeclarableTemplateDecl::CommonBase
llvm::PointerIntPair
< RedeclarableTemplateDecl
*, 1, bool
InstantiatedFromMember
 The template from which this was most directly instantiated (or null). More...
 

Detailed Description

Data that is common to all of the declarations of a given function template.

Definition at line 844 of file DeclTemplate.h.

Constructor & Destructor Documentation

clang::FunctionTemplateDecl::Common::Common ( )
inline

Definition at line 845 of file DeclTemplate.h.

Member Data Documentation

TemplateArgument* clang::FunctionTemplateDecl::Common::InjectedArgs

The set of "injected" template arguments used within this function template.

This pointer refers to the template arguments (there are as many template arguments as template parameaters) for the function template, and is allocated lazily, since most function templates do not require the use of this information.

Definition at line 858 of file DeclTemplate.h.

Referenced by clang::FunctionTemplateDecl::getInjectedTemplateArgs().

uint32_t* clang::FunctionTemplateDecl::Common::LazySpecializations

If non-null, points to an array of specializations known only by their external declaration IDs.

The first value in the array is the number of of specializations that follow.

Definition at line 865 of file DeclTemplate.h.

Referenced by clang::FunctionTemplateDecl::LoadLazySpecializations(), and clang::ASTDeclReader::VisitFunctionTemplateDecl().

llvm::FoldingSetVector<FunctionTemplateSpecializationInfo> clang::FunctionTemplateDecl::Common::Specializations

The function template specializations for this function template, including explicit specializations and instantiations.

Definition at line 849 of file DeclTemplate.h.

Referenced by clang::FunctionTemplateDecl::getSpecializations(), and clang::ASTDeclReader::VisitFunctionDecl().


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