mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
MDString
- Rename member function size(). New name is length(). - Store string beginning and length. Earlier it used to store string end. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -551,12 +551,12 @@ MDNode* LLVMContext::getMDNode(Value* const* Vals, unsigned NumVals) {
|
||||
}
|
||||
|
||||
// MDString accessors
|
||||
MDString* LLVMContext::getMDString(const char *StrBegin, const char *StrEnd) {
|
||||
return pImpl->getMDString(StrBegin, StrEnd);
|
||||
MDString* LLVMContext::getMDString(const char *StrBegin, unsigned StrLength) {
|
||||
return pImpl->getMDString(StrBegin, StrLength);
|
||||
}
|
||||
|
||||
MDString* LLVMContext::getMDString(const std::string &Str) {
|
||||
return getMDString(Str.data(), Str.data()+Str.size());
|
||||
return getMDString(Str.data(), Str.size());
|
||||
}
|
||||
|
||||
// FunctionType accessors
|
||||
|
||||
Reference in New Issue
Block a user