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
- public ConceptReference(clang::NestedNameSpecifierLoc NNS, clang::SourceLocation TemplateKWLoc, clang::DeclarationNameInfo ConceptNameInfo, clang::NamedDecl * FoundDecl, clang::ConceptDecl * NamedConcept, const clang::ASTTemplateArgumentListInfo * ArgsAsWritten)
- public ConceptReference()
- public const clang::DeclarationNameInfo & getConceptNameInfo() const
- public clang::SourceLocation getConceptNameLoc() const
- public clang::NamedDecl * getFoundDecl() const
- public clang::ConceptDecl * getNamedConcept() const
- public const clang::NestedNameSpecifierLoc & getNestedNameSpecifierLoc() const
- public const clang::ASTTemplateArgumentListInfo * getTemplateArgsAsWritten() const
- public clang::SourceLocation getTemplateKWLoc() const
- public bool hasExplicitTemplateArgs() const
Methods
¶ConceptReference(
    clang::NestedNameSpecifierLoc NNS,
    clang::SourceLocation TemplateKWLoc,
    clang::DeclarationNameInfo ConceptNameInfo,
    clang::NamedDecl* FoundDecl,
    clang::ConceptDecl* NamedConcept,
    const clang::ASTTemplateArgumentListInfo*
        ArgsAsWritten)
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()
ConceptReference()Declared at: clang/include/clang/AST/ASTConcept.h:133
¶const clang::DeclarationNameInfo&
getConceptNameInfo() const
const clang::DeclarationNameInfo&
getConceptNameInfo() constDeclared at: clang/include/clang/AST/ASTConcept.h:140
¶clang::SourceLocation getConceptNameLoc() const
clang::SourceLocation getConceptNameLoc() constDeclared at: clang/include/clang/AST/ASTConcept.h:142
¶clang::NamedDecl* getFoundDecl() const
clang::NamedDecl* getFoundDecl() constDeclared at: clang/include/clang/AST/ASTConcept.h:148
¶clang::ConceptDecl* getNamedConcept() const
clang::ConceptDecl* getNamedConcept() constDeclared at: clang/include/clang/AST/ASTConcept.h:152
¶const clang::NestedNameSpecifierLoc&
getNestedNameSpecifierLoc() const
const clang::NestedNameSpecifierLoc&
getNestedNameSpecifierLoc() constDeclared at: clang/include/clang/AST/ASTConcept.h:136
¶const clang::ASTTemplateArgumentListInfo*
getTemplateArgsAsWritten() const
const clang::ASTTemplateArgumentListInfo*
getTemplateArgsAsWritten() constDeclared at: clang/include/clang/AST/ASTConcept.h:156
¶clang::SourceLocation getTemplateKWLoc() const
clang::SourceLocation getTemplateKWLoc() constDeclared at: clang/include/clang/AST/ASTConcept.h:146
¶bool hasExplicitTemplateArgs() const
bool hasExplicitTemplateArgs() constDescription
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