clang: clang::ConceptReference Class Reference (original) (raw)

A reference to a concept and its template args, as it appears in the code. More...

#include "[clang/AST/ASTConcept.h](ASTConcept%5F8h%5Fsource.html)"

Public Member Functions
const NestedNameSpecifierLoc & getNestedNameSpecifierLoc () const
const DeclarationNameInfo & getConceptNameInfo () const
SourceLocation getConceptNameLoc () const
SourceLocation getTemplateKWLoc () const
SourceLocation getLocation () const
SourceLocation getBeginLoc () const LLVM_READONLY
SourceLocation getEndLoc () const LLVM_READONLY
SourceRange getSourceRange () const LLVM_READONLY
NamedDecl * getFoundDecl () const
ConceptDecl * getNamedConcept () const
const ASTTemplateArgumentListInfo * getTemplateArgsAsWritten () const
bool hasExplicitTemplateArgs () const
Whether or not template arguments were explicitly specified in the concept reference (they might not be in type constraints, for example)
void print (llvm::raw_ostream &OS, const PrintingPolicy &Policy) const
void dump () const
void dump (llvm::raw_ostream &) const

A reference to a concept and its template args, as it appears in the code.

Examples: template requires is_even int half = X/2; ~~~~~~~~~~ (in ConceptSpecializationExpr)

std::input_iterator auto I = Container.begin(); ~~~~~~~~~~~~~~~~~~~ (in AutoTypeLoc)

template <std::derives_from T> void dump(); ~~~~~~~~~~~~~~~~~~~~~~~ (in TemplateTypeParmDecl)

Definition at line 124 of file ASTConcept.h.

Create()

dump() [1/2]

LLVM_DUMP_METHOD void ConceptReference::dump ( ) const

dump() [2/2]

void clang::ConceptReference::dump ( llvm::raw_ostream & ) const

getBeginLoc()

getConceptNameInfo()

getConceptNameLoc()

SourceLocation clang::ConceptReference::getConceptNameLoc ( ) const inline

getEndLoc()

getFoundDecl()

NamedDecl * clang::ConceptReference::getFoundDecl ( ) const inline

getLocation()

getNamedConcept()

ConceptDecl * clang::ConceptReference::getNamedConcept ( ) const inline

getNestedNameSpecifierLoc()

getSourceRange()

SourceRange clang::ConceptReference::getSourceRange ( ) const inline

getTemplateArgsAsWritten()

getTemplateKWLoc()

SourceLocation clang::ConceptReference::getTemplateKWLoc ( ) const inline

hasExplicitTemplateArgs()

bool clang::ConceptReference::hasExplicitTemplateArgs ( ) const inline

print()

void ConceptReference::print ( llvm::raw_ostream & OS,
const PrintingPolicy & Policy
) const

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