clang  13.0.0git
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 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...
 

Detailed Description

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

Definition at line 979 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 991 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 982 of file DeclTemplate.h.

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


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