class ConceptReference

Declaration

class ConceptReference { /* full declaration omitted */ };

Description

Common data class for constructs that reference concepts with template arguments.

Declared at: clang/include/clang/AST/ASTConcept.h:99

Member Variables

protected clang::NestedNameSpecifierLoc NestedNameSpec
protected clang::SourceLocation TemplateKWLoc
protected clang::DeclarationNameInfo ConceptName
protected clang::NamedDecl* FoundDecl
protected clang::ConceptDecl* NamedConcept
protected const clang::ASTTemplateArgumentListInfo* ArgsAsWritten

Method Overview

Methods

ConceptReference(
    clang::NestedNameSpecifierLoc NNS,
    clang::SourceLocation TemplateKWLoc,
    clang::DeclarationNameInfo ConceptNameInfo,
    clang::NamedDecl* FoundDecl,
    clang::ConceptDecl* NamedConcept,
    const clang::ASTTemplateArgumentListInfo*
        ArgsAsWritten)

Declared at: clang/include/clang/AST/ASTConcept.h:125

Parameters

clang::NestedNameSpecifierLoc NNS
clang::SourceLocation TemplateKWLoc
clang::DeclarationNameInfo ConceptNameInfo
clang::NamedDecl* FoundDecl
clang::ConceptDecl* NamedConcept
const clang::ASTTemplateArgumentListInfo* ArgsAsWritten

ConceptReference()

Declared at: clang/include/clang/AST/ASTConcept.h:133

const clang::DeclarationNameInfo&
getConceptNameInfo() const

Declared at: clang/include/clang/AST/ASTConcept.h:140

clang::SourceLocation getConceptNameLoc() const

Declared at: clang/include/clang/AST/ASTConcept.h:142

clang::NamedDecl* getFoundDecl() const

Declared at: clang/include/clang/AST/ASTConcept.h:148

clang::ConceptDecl* getNamedConcept() const

Declared at: clang/include/clang/AST/ASTConcept.h:152

const clang::NestedNameSpecifierLoc&
getNestedNameSpecifierLoc() const

Declared at: clang/include/clang/AST/ASTConcept.h:136

const clang::ASTTemplateArgumentListInfo*
getTemplateArgsAsWritten() const

Declared at: clang/include/clang/AST/ASTConcept.h:156

clang::SourceLocation getTemplateKWLoc() const

Declared at: clang/include/clang/AST/ASTConcept.h:146

bool hasExplicitTemplateArgs() const

Description

Whether or not template arguments were explicitly specified in the concept reference (they might not be in type constraints, for example)

Declared at: clang/include/clang/AST/ASTConcept.h:162