Searched refs:SubstitutionDiagnostic (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang/include/clang/AST/ |
D | ExprConcepts.h | 46 using SubstitutionDiagnostic = std::pair<SourceLocation, std::string>; 161 struct SubstitutionDiagnostic { struct 211 llvm::PointerUnion<SubstitutionDiagnostic *, TypeSourceInfo *> Value; 225 TypeRequirement(SubstitutionDiagnostic *Diagnostic) : in TypeRequirement() 238 SubstitutionDiagnostic *getSubstitutionDiagnostic() const { in getSubstitutionDiagnostic() 242 return Value.get<SubstitutionDiagnostic *>(); in getSubstitutionDiagnostic() 270 llvm::PointerUnion<TemplateParameterList *, SubstitutionDiagnostic *>, 282 ReturnTypeRequirement(SubstitutionDiagnostic *SubstDiag) : in ReturnTypeRequirement() 310 TypeConstraintInfo.getPointer().is<SubstitutionDiagnostic *>(); in isSubstitutionFailure() 318 SubstitutionDiagnostic *getSubstitutionDiagnostic() const { in getSubstitutionDiagnostic() [all …]
|
D | ASTConcept.h | 44 using SubstitutionDiagnostic = std::pair<SourceLocation, StringRef>; variable 45 using Detail = llvm::PointerUnion<Expr *, SubstitutionDiagnostic *>;
|
/external/llvm-project/clang/lib/AST/ |
D | ASTConcept.cpp | 35 auto &SubstitutionDiagnostic = local 37 unsigned MessageSize = SubstitutionDiagnostic.second.size(); 39 memcpy(Mem, SubstitutionDiagnostic.second.data(), MessageSize); 41 SubstitutionDiagnostic.first, StringRef(Mem, MessageSize));
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaConcept.cpp | 243 new (S.Context) ConstraintSatisfaction::SubstitutionDiagnostic{ in calculateConstraintSatisfaction() 493 concepts::Requirement::SubstitutionDiagnostic *SubstDiag = in diagnoseUnsatisfiedRequirement() 606 template<typename SubstitutionDiagnostic> 609 const llvm::PointerUnion<Expr *, SubstitutionDiagnostic *> &Record, in diagnoseUnsatisfiedConstraintExpr() 611 if (auto *Diag = Record.template dyn_cast<SubstitutionDiagnostic *>()){ in diagnoseUnsatisfiedConstraintExpr() 1034 SubstitutionDiagnostic *ExprSubstDiag, bool IsSimple, in ExprRequirement()
|
D | SemaTemplateInstantiate.cpp | 1876 static concepts::Requirement::SubstitutionDiagnostic * 1896 return new (S.Context) concepts::Requirement::SubstitutionDiagnostic{ in createSubstDiag() 1936 llvm::PointerUnion<Expr *, concepts::Requirement::SubstitutionDiagnostic *> in TransformExprRequirement() 1989 TransExpr.get<concepts::Requirement::SubstitutionDiagnostic *>(), in TransformExprRequirement()
|
D | SemaExprCXX.cpp | 8618 concepts::Requirement::SubstitutionDiagnostic *ExprSubstitutionDiagnostic, in BuildExprRequirement() 8633 concepts::Requirement::SubstitutionDiagnostic *SubstDiag) { in BuildTypeRequirement() 8654 concepts::Requirement::SubstitutionDiagnostic *SubstDiag) { in BuildNestedRequirement()
|
D | TreeTransform.h | 3284 concepts::Requirement::SubstitutionDiagnostic *SubstDiag) { in RebuildTypeRequirement() 3294 concepts::Requirement::SubstitutionDiagnostic *SubstDiag, bool IsSimple, in RebuildExprRequirement() 3310 concepts::Requirement::SubstitutionDiagnostic *SubstDiag) { in RebuildNestedRequirement() 12061 llvm::PointerUnion<Expr *, concepts::Requirement::SubstitutionDiagnostic *> TransExpr; in TransformExprRequirement() 12093 TransExpr.get<concepts::Requirement::SubstitutionDiagnostic *>(), in TransformExprRequirement()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 787 ConstraintSatisfaction::SubstitutionDiagnostic{ in readConstraintSatisfaction() 815 static concepts::Requirement::SubstitutionDiagnostic * 821 concepts::Requirement::SubstitutionDiagnostic{SubstitutedEntity, DiagLoc, in readSubstitutionDiagnostic() 859 llvm::PointerUnion<concepts::Requirement::SubstitutionDiagnostic *, in VisitRequiresExpr() 899 E.get<concepts::Requirement::SubstitutionDiagnostic *>(), in VisitRequiresExpr()
|
D | ASTWriterStmt.cpp | 423 const concepts::Requirement::SubstitutionDiagnostic *D) { in addSubstitutionDiagnostic() 470 ExprReq->Value.get<concepts::Requirement::SubstitutionDiagnostic *>()); in VisitRequiresExpr()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 7771 concepts::Requirement::SubstitutionDiagnostic *ExprSubstDiag, 7777 concepts::Requirement::SubstitutionDiagnostic *SubstDiag); 7781 concepts::Requirement::SubstitutionDiagnostic *SubstDiag);
|