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 ()=default
 
- 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 = nullptr
 The set of "injected" template arguments used within this function template. 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...
 
uint32_t * LazySpecializations = nullptr
 If non-null, points to an array of specializations (including partial specializations) known only by their external declaration IDs. More...
 

Detailed Description

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

Definition at line 973 of file DeclTemplate.h.

Constructor & Destructor Documentation

◆ Common()

clang::FunctionTemplateDecl::Common::Common ( )
default

Member Data Documentation

◆ InjectedArgs

TemplateArgument* clang::FunctionTemplateDecl::Common::InjectedArgs = nullptr

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

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

◆ Specializations

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

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

Definition at line 976 of file DeclTemplate.h.

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


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