class UnresolvedUsingTypenameDecl
Declaration
class UnresolvedUsingTypenameDecl : public TypeDecl, public Mergeable { /* full declaration omitted */ };
Description
Represents a dependent using declaration which was marked with\c typename. The type associated with an unresolved using typename decl is currently always a typename type.
Declared at: clang/include/clang/AST/DeclCXX.h:3842
Inherits from: TypeDecl, Mergeable
Member Variables
- private clang::SourceLocation TypenameLocation
- The source location of the 'typename' keyword
- private clang::SourceLocation EllipsisLoc
- If this is a pack expansion, the location of the '...'.
- private clang::NestedNameSpecifierLoc QualifierLoc
- The nested-name-specifier that precedes the name.
Inherited from Decl:
- protected NextInContextAndBits
- protected Access
- protected FromASTFile
- protected IdentifierNamespace
- protected CacheValidAndLinkage
Method Overview
- public static clang::UnresolvedUsingTypenameDecl * Create(clang::ASTContext & C, clang::DeclContext * DC, clang::SourceLocation UsingLoc, clang::SourceLocation TypenameLoc, clang::NestedNameSpecifierLoc QualifierLoc, clang::SourceLocation TargetNameLoc, clang::DeclarationName TargetName, clang::SourceLocation EllipsisLoc)
- public static clang::UnresolvedUsingTypenameDecl * CreateDeserialized(clang::ASTContext & C, unsigned int ID)
- private UnresolvedUsingTypenameDecl(clang::DeclContext * DC, clang::SourceLocation UsingLoc, clang::SourceLocation TypenameLoc, clang::NestedNameSpecifierLoc QualifierLoc, clang::SourceLocation TargetNameLoc, clang::IdentifierInfo * TargetName, clang::SourceLocation EllipsisLoc)
- private void anchor()
- public static bool classof(const clang::Decl * D)
- public static bool classofKind(clang::Decl::Kind K)
- public clang::UnresolvedUsingTypenameDecl * getCanonicalDecl()
- public const clang::UnresolvedUsingTypenameDecl * getCanonicalDecl() const
- public clang::SourceLocation getEllipsisLoc() const
- public clang::DeclarationNameInfo getNameInfo() const
- public clang::NestedNameSpecifier * getQualifier() const
- public clang::NestedNameSpecifierLoc getQualifierLoc() const
- public clang::SourceLocation getTypenameLoc() const
- public clang::SourceLocation getUsingLoc() const
- public bool isPackExpansion() const
Inherited from TypeDecl:
- public classof
- public classofKind
- public getBeginLoc
- public getSourceRange
- public getTypeForDecl
- public setLocStart
- public setTypeForDecl
Inherited from NamedDecl:
- public classof
- public classofKind
- public declarationReplaces
- public getDeclName
- public getExplicitVisibility
- public getFormalLinkage
- public getIdentifier
- public getLinkageAndVisibility
- public getLinkageInternal
- public getMostRecentDecl
- public getMostRecentDecl
- public getName
- public getNameAsString
- public getNameForDiagnostic
- public getObjCFStringFormattingFamily
- public getQualifiedNameAsString
- public getUnderlyingDecl
- public getUnderlyingDecl
- public getVisibility
- public hasExternalFormalLinkage
- public hasLinkage
- public hasLinkageBeenComputed
- public isCXXClassMember
- public isCXXInstanceMember
- public isExternallyDeclarable
- public isExternallyVisible
- public isLinkageValid
- public isReserved
- public printName
- public printNestedNameSpecifier
- public printNestedNameSpecifier
- public printQualifiedName
- public printQualifiedName
- public setDeclName
Inherited from Decl:
- public EnableStatistics
- public PrintStats
- public add
- public addAttr
- public attr_begin
- public attr_end
- public attrs
- public canBeWeakImported
- public castFromDeclContext
- public castToDeclContext
- public classofKind
- public dropAttr
- public dropAttrs
- public dump
- public dump
- public dumpColor
- public getASTContext
- protected getASTMutationListener
- public getAccess
- public getAccessUnsafe
- public getAsFunction
- public getAsFunction
- public getAttr
- public getAttrs
- public getAttrs
- public getAvailability
- public getBeginLoc
- public getBody
- public getBodyRBrace
- protected getCachedLinkage
- public getCanonicalDecl
- public getCanonicalDecl
- public getDeclContext
- public getDeclContext
- public getDeclKindName
- public getDefiningAttr
- public getDescribedTemplate
- public getDescribedTemplateParams
- public getEndLoc
- public getExternalSourceSymbolAttr
- public getFriendObjectKind
- public getFunctionType
- public getGlobalID
- public getID
- public getIdentifierNamespace
- public getIdentifierNamespaceForKind
- public getImportedOwningModule
- public getKind
- public getLangOpts
- public getLexicalDeclContext
- public getLexicalDeclContext
- public getLocalOwningModule
- public getLocation
- public getMaxAlignment
- public getModuleOwnershipKind
- public getMostRecentDecl
- public getMostRecentDecl
- protected getMostRecentDeclImpl
- public getNextDeclInContext
- public getNextDeclInContext
- protected getNextRedeclarationImpl
- public getNonClosureContext
- public getNonClosureContext
- public getOwningModule
- public getOwningModuleForLinkage
- public getOwningModuleID
- public getParentFunctionOrMethod
- public getParentFunctionOrMethod
- public getPreviousDecl
- public getPreviousDecl
- protected getPreviousDeclImpl
- public getSourceRange
- public getTemplateDepth
- public getTranslationUnitDecl
- public getTranslationUnitDecl
- public getVersionIntroduced
- public hasAttr
- public hasAttrs
- public hasBody
- protected hasCachedLinkage
- public hasDefiningAttr
- protected hasLocalOwningModuleStorage
- public hasOwningModule
- public hasTagIdentifierNamespace
- public isCanonicalDecl
- public isDefinedOutsideFunctionOrMethod
- public isDeprecated
- public isDiscardedInGlobalModuleFragment
- public isFirstDecl
- public isFromASTFile
- public isFunctionOrFunctionTemplate
- public isImplicit
- public isInAnonymousNamespace
- public isInExportDeclContext
- public isInIdentifierNamespace
- public isInLocalScopeForInstantiation
- public isInStdNamespace
- public isInvalidDecl
- public isInvisibleOutsideTheOwningModule
- public isLocalExternDecl
- public isModulePrivate
- public isOutOfLine
- public isParameterPack
- public isReachable
- public isReferenced
- public isTagIdentifierNamespace
- public isTemplateDecl
- public isTemplateParameter
- public isTemplateParameterPack
- public isTemplated
- public isThisDeclarationReferenced
- public isTopLevelDeclInObjCContainer
- public isUnavailable
- public isUnconditionallyVisible
- public isUsed
- public isWeakImported
- public markUsed
- public print
- public print
- public printGroup
- public redecls
- public redecls_begin
- public redecls_end
- public setAccess
- public setAttrs
- protected setCachedLinkage
- public setDeclContext
- public setFromASTFile
- public setImplicit
- public setInvalidDecl
- public setIsUsed
- public setLexicalDeclContext
- public setLocalExternDecl
- public setLocalOwningModule
- public setLocation
- public setModuleOwnershipKind
- protected setModulePrivate
- public setNonMemberOperator
- public setObjectOfFriendDecl
- public setOwningModuleID
- public setReferenced
- public setTopLevelDeclInObjCContainer
- public setVisibleDespiteOwningModule
- public specific_attr_begin
- public specific_attr_end
- public specific_attrs
- protected updateOutOfDate
Methods
¶static clang::UnresolvedUsingTypenameDecl* Create(
clang::ASTContext& C,
clang::DeclContext* DC,
clang::SourceLocation UsingLoc,
clang::SourceLocation TypenameLoc,
clang::NestedNameSpecifierLoc QualifierLoc,
clang::SourceLocation TargetNameLoc,
clang::DeclarationName TargetName,
clang::SourceLocation EllipsisLoc)
static clang::UnresolvedUsingTypenameDecl* Create(
clang::ASTContext& C,
clang::DeclContext* DC,
clang::SourceLocation UsingLoc,
clang::SourceLocation TypenameLoc,
clang::NestedNameSpecifierLoc QualifierLoc,
clang::SourceLocation TargetNameLoc,
clang::DeclarationName TargetName,
clang::SourceLocation EllipsisLoc)
Declared at: clang/include/clang/AST/DeclCXX.h:3900
Parameters
- clang::ASTContext& C
- clang::DeclContext* DC
- clang::SourceLocation UsingLoc
- clang::SourceLocation TypenameLoc
- clang::NestedNameSpecifierLoc QualifierLoc
- clang::SourceLocation TargetNameLoc
- clang::DeclarationName TargetName
- clang::SourceLocation EllipsisLoc
¶static clang::UnresolvedUsingTypenameDecl*
CreateDeserialized(clang::ASTContext& C,
unsigned int ID)
static clang::UnresolvedUsingTypenameDecl*
CreateDeserialized(clang::ASTContext& C,
unsigned int ID)
Declared at: clang/include/clang/AST/DeclCXX.h:3906
Parameters
- clang::ASTContext& C
- unsigned int ID
¶UnresolvedUsingTypenameDecl(
clang::DeclContext* DC,
clang::SourceLocation UsingLoc,
clang::SourceLocation TypenameLoc,
clang::NestedNameSpecifierLoc QualifierLoc,
clang::SourceLocation TargetNameLoc,
clang::IdentifierInfo* TargetName,
clang::SourceLocation EllipsisLoc)
UnresolvedUsingTypenameDecl(
clang::DeclContext* DC,
clang::SourceLocation UsingLoc,
clang::SourceLocation TypenameLoc,
clang::NestedNameSpecifierLoc QualifierLoc,
clang::SourceLocation TargetNameLoc,
clang::IdentifierInfo* TargetName,
clang::SourceLocation EllipsisLoc)
Declared at: clang/include/clang/AST/DeclCXX.h:3856
Parameters
- clang::DeclContext* DC
- clang::SourceLocation UsingLoc
- clang::SourceLocation TypenameLoc
- clang::NestedNameSpecifierLoc QualifierLoc
- clang::SourceLocation TargetNameLoc
- clang::IdentifierInfo* TargetName
- clang::SourceLocation EllipsisLoc
¶void anchor()
void anchor()
Declared at: clang/include/clang/AST/DeclCXX.h:3867
¶static bool classof(const clang::Decl* D)
static bool classof(const clang::Decl* D)
Declared at: clang/include/clang/AST/DeclCXX.h:3916
Parameters
- const clang::Decl* D
¶static bool classofKind(clang::Decl::Kind K)
static bool classofKind(clang::Decl::Kind K)
Declared at: clang/include/clang/AST/DeclCXX.h:3917
Parameters
- clang::Decl::Kind K
¶clang::UnresolvedUsingTypenameDecl*
getCanonicalDecl()
clang::UnresolvedUsingTypenameDecl*
getCanonicalDecl()
Description
Retrieves the canonical declaration of this declaration.
Declared at: clang/include/clang/AST/DeclCXX.h:3909
¶const clang::UnresolvedUsingTypenameDecl*
getCanonicalDecl() const
const clang::UnresolvedUsingTypenameDecl*
getCanonicalDecl() const
Declared at: clang/include/clang/AST/DeclCXX.h:3912
¶clang::SourceLocation getEllipsisLoc() const
clang::SourceLocation getEllipsisLoc() const
Description
Get the location of the ellipsis if this is a pack expansion.
Declared at: clang/include/clang/AST/DeclCXX.h:3895
¶clang::DeclarationNameInfo getNameInfo() const
clang::DeclarationNameInfo getNameInfo() const
Declared at: clang/include/clang/AST/DeclCXX.h:3885
¶clang::NestedNameSpecifier* getQualifier() const
clang::NestedNameSpecifier* getQualifier() const
Description
Retrieve the nested-name-specifier that qualifies the name.
Declared at: clang/include/clang/AST/DeclCXX.h:3881
¶clang::NestedNameSpecifierLoc getQualifierLoc()
const
clang::NestedNameSpecifierLoc getQualifierLoc()
const
Description
Retrieve the nested-name-specifier that qualifies the name, with source-location information.
Declared at: clang/include/clang/AST/DeclCXX.h:3878
¶clang::SourceLocation getTypenameLoc() const
clang::SourceLocation getTypenameLoc() const
Description
Returns the source location of the 'typename' keyword.
Declared at: clang/include/clang/AST/DeclCXX.h:3874
¶clang::SourceLocation getUsingLoc() const
clang::SourceLocation getUsingLoc() const
Description
Returns the source location of the 'using' keyword.
Declared at: clang/include/clang/AST/DeclCXX.h:3871
¶bool isPackExpansion() const
bool isPackExpansion() const
Description
Determine whether this is a pack expansion.
Declared at: clang/include/clang/AST/DeclCXX.h:3890