clang 20.0.0git
Public Member Functions | Friends | List of all members
clang::AssumedTemplateStorage Class Reference

A structure for storing the information associated with a name that has been assumed to be a template name (despite finding no TemplateDecls). More...

#include "clang/AST/DeclarationName.h"

Inheritance diagram for clang::AssumedTemplateStorage:
Inheritance graph
[legend]

Public Member Functions

DeclarationName getDeclName () const
 Get the name of the template.
 
- Public Member Functions inherited from clang::UncommonTemplateNameStorage
OverloadedTemplateStoragegetAsOverloadedStorage ()
 
AssumedTemplateStoragegetAsAssumedTemplateName ()
 
SubstTemplateTemplateParmStoragegetAsSubstTemplateTemplateParm ()
 
SubstTemplateTemplateParmPackStoragegetAsSubstTemplateTemplateParmPack ()
 

Friends

class ASTContext
 

Additional Inherited Members

- Protected Types inherited from clang::UncommonTemplateNameStorage
enum  Kind { Overloaded , Assumed , SubstTemplateTemplateParm , SubstTemplateTemplateParmPack }
 
- Protected Member Functions inherited from clang::UncommonTemplateNameStorage
 UncommonTemplateNameStorage (Kind Kind, unsigned Index, unsigned Data)
 
- Protected Attributes inherited from clang::UncommonTemplateNameStorage
union {
   struct BitsTag   Bits
 
   void *   PointerAlignment
 
}; 
 

Detailed Description

A structure for storing the information associated with a name that has been assumed to be a template name (despite finding no TemplateDecls).

Definition at line 941 of file DeclarationName.h.

Member Function Documentation

◆ getDeclName()

DeclarationName clang::AssumedTemplateStorage::getDeclName ( ) const
inline

Get the name of the template.

Definition at line 950 of file DeclarationName.h.

Referenced by clang::ASTImporter::Import(), IsStructurallyEquivalent(), and clang::Sema::resolveAssumedTemplateNameAsType().

Friends And Related Function Documentation

◆ ASTContext

friend class ASTContext
friend

Definition at line 942 of file DeclarationName.h.


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