clang  6.0.0svn
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 "clang/AST/DeclTemplate.h"

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

Public Member Functions

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

Public Attributes

llvm::FoldingSetVector< FunctionTemplateSpecializationInfoSpecializations
 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, boolInstantiatedFromMember
 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 943 of file DeclTemplate.h.

Constructor & Destructor Documentation

◆ Common()

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

Definition at line 944 of file DeclTemplate.h.

Member Data Documentation

◆ InjectedArgs

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 957 of file DeclTemplate.h.

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

◆ LazySpecializations

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 964 of file DeclTemplate.h.

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

◆ Specializations

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

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

Definition at line 948 of file DeclTemplate.h.

Referenced by clang::ASTDeclReader::VisitFunctionDecl().


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