DeclarationNameTable is used to store and retrieve DeclarationName instances for the various kinds of declaration names, e.g., normal identifiers, C++ constructor names, etc. More...
#include "clang/AST/DeclarationName.h"
DeclarationNameTable is used to store and retrieve DeclarationName instances for the various kinds of declaration names, e.g., normal identifiers, C++ constructor names, etc.
This class contains uniqued versions of each of the C++ special names, which can be retrieved using its member functions (e.g., getCXXConstructorName).
Definition at line 577 of file DeclarationName.h.
◆ DeclarationNameTable() [1/3] DeclarationNameTable::DeclarationNameTable ( const ASTContext & C ) ◆ DeclarationNameTable() [2/3] ◆ DeclarationNameTable() [3/3] ◆ ~DeclarationNameTable() clang::DeclarationNameTable::~DeclarationNameTable ( ) default ◆ getCXXConstructorName()Returns the name of a C++ constructor for the given Type.
Definition at line 302 of file DeclarationName.cpp.
References clang::CanQual< T >::getAsOpaquePtr(), and clang::CanQual< T >::getUnqualifiedType().
Referenced by clang::Sema::BuildUsingDeclaration(), clang::Sema::DeclareImplicitCopyConstructor(), clang::Sema::DeclareImplicitDefaultConstructor(), clang::Sema::DeclareImplicitMoveConstructor(), getConstructors(), getCXXSpecialName(), clang::Sema::GetNameFromUnqualifiedId(), clang::ASTImporter::Import(), clang::Sema::LookupConstructors(), and clang::Sema::LookupSpecialMember().
◆ getCXXConversionFunctionName() ◆ getCXXDeductionGuideName() ◆ getCXXDestructorName() ◆ getCXXLiteralOperatorName() ◆ getCXXOperatorName()Get the name of the overloadable C++ operator corresponding to Op.
Definition at line 649 of file DeclarationName.h.
Referenced by clang::Sema::ActOnCXXDelete(), clang::Sema::ActOnCXXFoldExpr(), clang::Sema::AddMemberOperatorCandidates(), clang::TemplateDeclInstantiator::adjustForRewrite(), clang::Sema::BuildBlockForLambdaConversion(), clang::Sema::BuildCallToObjectOfClassType(), clang::Sema::BuildOperatorCoawaitLookupExpr(), clang::Sema::BuildOverloadedArrowExpr(), buildSingleCopyAssignRecursively(), clang::Sema::CreateLambdaCallOperator(), clang::Sema::CreateOverloadedArraySubscriptExpr(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), clang::Sema::DeclareGlobalNewDelete(), clang::Sema::DeclareImplicitCopyAssignment(), clang::Sema::DeclareImplicitMoveAssignment(), DiagnoseTwoPhaseOperatorLookup(), doesUsualArrayDeleteWantSize(), clang::Sema::FindAllocationFunctions(), clang::Sema::FindDeallocationFunctionForDestructor(), findDeleteForPromise(), findImplicitlyDeclaredEqualityComparisons(), getLambdaCallOperatorHelper(), clang::ASTContext::getNameForTemplate(), clang::Sema::GetNameFromUnqualifiedId(), clang::ASTImporter::Import(), clang::Sema::isTemplateName(), clang::Sema::LookupOverloadedBinOp(), clang::Sema::LookupOverloadedOperatorName(), clang::Sema::LookupSpecialMember(), resolveAllocationOverload(), resolveBuiltinNewDeleteOverload(), shouldAddReversedEqEq(), clang::Sema::ShouldDeleteSpecialMember(), and threadSafetyCheckIsSmartPointer().
◆ getCXXSpecialName()Returns a declaration name for special kind of C++ name, e.g., for a constructor, destructor, or conversion function.
Kind must be one of:
Definition at line 351 of file DeclarationName.cpp.
References clang::DeclarationName::CXXConstructorName, clang::DeclarationName::CXXConversionFunctionName, clang::DeclarationName::CXXDestructorName, getCXXConstructorName(), getCXXConversionFunctionName(), and getCXXDestructorName().
Referenced by clang::TreeTransform< Derived >::TransformDeclarationNameInfo().
◆ getIdentifier() ◆ operator=() [1/2] ◆ operator=() [2/2]The documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4