clang API Documentation

Public Member Functions | Public Attributes
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:
Inheritance graph
[legend]
Collaboration diagram for clang::FunctionTemplateDecl::Common:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Common ()

Public Attributes

llvm::FoldingSetVector
< FunctionTemplateSpecializationInfo
Specializations
 The function template specializations for this function template, including explicit specializations and instantiations.
TemplateArgumentInjectedArgs
 The set of "injected" template arguments used within this function template.
uint32_t * LazySpecializations
 If non-null, points to an array of specializations known only by their external declaration IDs.

Detailed Description

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

Definition at line 753 of file DeclTemplate.h.


Constructor & Destructor Documentation

Definition at line 754 of file DeclTemplate.h.


Member Data Documentation

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

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

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

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

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

Definition at line 758 of file DeclTemplate.h.

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


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