clang  8.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::CXXSpecialName Class Reference

CXXSpecialName - Records the type associated with one of the "special" kinds of declaration names in C++, e.g., constructors, destructors, and conversion functions. More...

#include "clang/AST/DeclarationName.h"

Inheritance diagram for clang::CXXSpecialName:
Inheritance graph
[legend]
Collaboration diagram for clang::CXXSpecialName:
Collaboration graph
[legend]

Public Member Functions

void Profile (llvm::FoldingSetNodeID &ID)
 

Public Attributes

QualType Type
 Type - The type associated with this declaration name. More...
 
void * FETokenInfo
 FETokenInfo - Extra information associated with this declaration name that can be used by the front end. More...
 
- Public Attributes inherited from clang::DeclarationNameExtra
unsigned ExtraKindOrNumArgs
 ExtraKindOrNumArgs - Either the kind of C++ special name or operator-id (if the value is one of the CXX* enumerators of ExtraKind), in which case the DeclarationNameExtra is also a CXXSpecialName, (for CXXConstructor, CXXDestructor, or CXXConversionFunction) CXXOperatorIdName, or CXXLiteralOperatorName, it may be also name common to C++ using-directives (CXXUsingDirective), otherwise it is NUM_EXTRA_KINDS+NumArgs, where NumArgs is the number of arguments in the Objective-C selector, in which case the DeclarationNameExtra is also a MultiKeywordSelector. More...
 

Additional Inherited Members

- Public Types inherited from clang::DeclarationNameExtra
enum  ExtraKind {
  CXXConstructor = 0, CXXDestructor, CXXConversionFunction, CXXDeductionGuide,
  CXXLiteralOperator, CXXUsingDirective, NUM_EXTRA_KINDS
}
 ExtraKind - The kind of "extra" information stored in the DeclarationName. More...
 

Detailed Description

CXXSpecialName - Records the type associated with one of the "special" kinds of declaration names in C++, e.g., constructors, destructors, and conversion functions.

Definition at line 349 of file DeclarationName.h.

Member Function Documentation

◆ Profile()

void clang::CXXSpecialName::Profile ( llvm::FoldingSetNodeID &  ID)
inline

Definition at line 360 of file DeclarationName.h.

References clang::QualType::getAsOpaquePtr().

Member Data Documentation

◆ FETokenInfo

void* clang::CXXSpecialName::FETokenInfo

FETokenInfo - Extra information associated with this declaration name that can be used by the front end.

All bits are really needed so it is not possible to stash something in the low order bits.

Definition at line 358 of file DeclarationName.h.

◆ Type

QualType clang::CXXSpecialName::Type

Type - The type associated with this declaration name.

Definition at line 353 of file DeclarationName.h.


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