Searched refs:MessageSize (Results 1 – 2 of 2) sorted by relevance
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | ASTConcept.cpp | 33 unsigned MessageSize = SubstitutionDiagnostic.second.size(); in CreatUnsatisfiedConstraintRecord() local 34 char *Mem = new (C) char[MessageSize]; in CreatUnsatisfiedConstraintRecord() 35 memcpy(Mem, SubstitutionDiagnostic.second.data(), MessageSize); in CreatUnsatisfiedConstraintRecord() 37 SubstitutionDiagnostic.first, StringRef(Mem, MessageSize)); in CreatUnsatisfiedConstraintRecord()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaConcept.cpp | 244 unsigned MessageSize = DiagString.size(); in calculateConstraintSatisfaction() local 245 char *Mem = new (S.Context) char[MessageSize]; in calculateConstraintSatisfaction() 246 memcpy(Mem, DiagString.c_str(), MessageSize); in calculateConstraintSatisfaction() 251 StringRef(Mem, MessageSize)}); in calculateConstraintSatisfaction() 364 unsigned MessageSize = DiagString.size(); in calculateConstraintSatisfaction() local 365 char *Mem = new (S.Context) char[MessageSize]; in calculateConstraintSatisfaction() 366 memcpy(Mem, DiagString.c_str(), MessageSize); in calculateConstraintSatisfaction() 370 SubstDiag.first, StringRef(Mem, MessageSize)}); in calculateConstraintSatisfaction()
|