Home
last modified time | relevance | path

Searched refs:MessageSize (Results 1 – 2 of 2) sorted by relevance

/openbsd/gnu/llvm/clang/lib/AST/
H A DASTConcept.cpp33 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 DSemaConcept.cpp244 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()