Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h1069 auto SourceStr = Source.toStringRef(TmpBuffer); in allocateContent() local
1070 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size()); in allocateContent()
1071 llvm::copy(SourceStr, AllocatedBuffer); in allocateContent()
1072 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size()); in allocateContent()
1098 auto SourceStr = Source.toStringRef(TmpBuffer); in allocateCString() local
1099 auto *AllocatedBuffer = Allocator.Allocate<char>(SourceStr.size() + 1); in allocateCString()
1100 llvm::copy(SourceStr, AllocatedBuffer); in allocateCString()
1101 AllocatedBuffer[SourceStr.size()] = '\0'; in allocateCString()
1102 return MutableArrayRef<char>(AllocatedBuffer, SourceStr.size() + 1); in allocateCString()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp1450 SmallString<16> SourceStr; in checkFortifiedBuiltinMemoryFunction() local
1452 SourceSize->toString(SourceStr, /*Radix=*/10); in checkFortifiedBuiltinMemoryFunction()
1455 << FunctionName << DestinationStr << SourceStr); in checkFortifiedBuiltinMemoryFunction()