clang
10.0.0git
|
Common data class for constructs that reference concepts with template arguments. More...
#include "clang/AST/ASTConcept.h"
Public Member Functions | |
ConceptReference (NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, DeclarationNameInfo ConceptNameInfo, NamedDecl *FoundDecl, ConceptDecl *NamedConcept, const ASTTemplateArgumentListInfo *ArgsAsWritten) | |
ConceptReference () | |
const NestedNameSpecifierLoc & | getNestedNameSpecifierLoc () const |
const DeclarationNameInfo & | getConceptNameInfo () const |
SourceLocation | getConceptNameLoc () const |
SourceLocation | getTemplateKWLoc () const |
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) More... | |
Protected Attributes | |
NestedNameSpecifierLoc | NestedNameSpec |
SourceLocation | TemplateKWLoc |
The location of the template keyword, if specified when naming the concept. More... | |
DeclarationNameInfo | ConceptName |
The concept name used. More... | |
NamedDecl * | FoundDecl |
The declaration found by name lookup when the expression was created. More... | |
ConceptDecl * | NamedConcept |
The concept named. More... | |
const ASTTemplateArgumentListInfo * | ArgsAsWritten |
The template argument list source info used to specialize the concept. More... | |
Common data class for constructs that reference concepts with template arguments.
Definition at line 100 of file ASTConcept.h.
|
inline |
Definition at line 127 of file ASTConcept.h.
|
inline |
Definition at line 135 of file ASTConcept.h.
|
inline |
Definition at line 142 of file ASTConcept.h.
Referenced by addSubstitutionDiagnostic(), clang::for(), clang::TreeTransform< Derived >::TransformOverloadExprDecls(), and clang::ASTDeclWriter::VisitTemplateTypeParmDecl().
|
inline |
Definition at line 144 of file ASTConcept.h.
|
inline |
Definition at line 150 of file ASTConcept.h.
Referenced by getExpressionTraitName(), and clang::TreeTransform< Derived >::TransformOverloadExprDecls().
|
inline |
Definition at line 154 of file ASTConcept.h.
Referenced by addSubstitutionDiagnostic(), clang::TreeTransform< Derived >::TransformOverloadExprDecls(), and clang::ASTDeclWriter::VisitTemplateTypeParmDecl().
|
inline |
Definition at line 138 of file ASTConcept.h.
Referenced by addSubstitutionDiagnostic(), clang::for(), getExpressionTraitName(), clang::TreeTransform< Derived >::TransformOverloadExprDecls(), and clang::ASTDeclWriter::VisitTemplateTypeParmDecl().
|
inline |
Definition at line 158 of file ASTConcept.h.
Referenced by addSubstitutionDiagnostic(), clang::for(), getExpressionTraitName(), clang::TreeTransform< Derived >::TransformOverloadExprDecls(), and clang::ASTDeclWriter::VisitTemplateTypeParmDecl().
|
inline |
Definition at line 148 of file ASTConcept.h.
Referenced by addSubstitutionDiagnostic(), getExpressionTraitName(), and clang::TreeTransform< Derived >::TransformOverloadExprDecls().
|
inline |
Whether or not template arguments were explicitly specified in the concept reference (they might not be in type constraints, for example)
Definition at line 164 of file ASTConcept.h.
Referenced by clang::for().
|
protected |
The template argument list source info used to specialize the concept.
Definition at line 123 of file ASTConcept.h.
Referenced by clang::ConceptSpecializationExpr::getEndLoc(), and readConstraintSatisfaction().
|
protected |
The concept name used.
Definition at line 110 of file ASTConcept.h.
Referenced by clang::ConceptSpecializationExpr::getBeginLoc(), and readConstraintSatisfaction().
|
protected |
The declaration found by name lookup when the expression was created.
Can differ from NamedConcept when, for example, the concept was found through a UsingShadowDecl.
Definition at line 116 of file ASTConcept.h.
|
protected |
The concept named.
Definition at line 119 of file ASTConcept.h.
Referenced by readConstraintSatisfaction().
|
protected |
Definition at line 103 of file ASTConcept.h.
Referenced by readConstraintSatisfaction().
|
protected |
The location of the template keyword, if specified when naming the concept.
Definition at line 107 of file ASTConcept.h.
Referenced by readConstraintSatisfaction().