reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/DIE.h
  296   explicit DIEInlineString(StringRef Str, Allocator &A) : S(Str.copy(A)) {}
include/llvm/ProfileData/SampleProf.h
  650     Syms.insert(Name.copy(Allocator));
lib/Support/YAMLParser.cpp
 2378     StringRef StrCopy = NullTerminatedStr.copy(NodeAllocator).drop_back();
lib/Support/YAMLTraits.cpp
  378       KeyStr = StringStorage.str().copy(StringAllocator);
  382     StringRef ValueCopy = BSN->getValue().copy(StringAllocator);
  410         KeyStr = StringStorage.str().copy(StringAllocator);
tools/clang/include/clang/Edit/EditedSource.h
   91   StringRef copyString(StringRef str) { return str.copy(StrAlloc); }
tools/clang/lib/AST/Stmt.cpp
  793   return str.copy(C);
tools/clang/lib/Basic/FileManager.cpp
  557     CanonicalName = StringRef(CanonicalNameBuf).copy(CanonicalNameStorage);
tools/clang/lib/Edit/Commit.cpp
  191   data.Text = text.copy(StrAlloc);
tools/clang/lib/Serialization/ASTReaderStmt.cpp
 1954   E->setUuidStr(StringRef(UuidStr).copy(Record.getContext()));
tools/lld/include/lld/ReaderWriter/MachOLinkingContext.h
  384   StringRef copy(StringRef str) { return str.copy(_allocator); }
tools/lld/lib/ReaderWriter/MachO/ArchHandler_arm.cpp
 1425     _name = tmp.copy(file.allocator());
 1470     _name = tmp.copy(file.allocator());
tools/lld/lib/ReaderWriter/MachO/File.h
   49       name = name.copy(allocator());
   71       name = name.copy(allocator());
   73       sectionName = sectionName.copy(allocator());
   92       name = name.copy(allocator());
  119       name = name.copy(allocator());
  130       name = name.copy(allocator());
  303       name = name.copy(allocator());
tools/lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
  484         _searchDirs.push_back(path.str().copy(_allocator));
  512         _frameworkDirs.push_back(path.str().copy(_allocator));
  539       return fullPath.str().copy(_allocator);
  547     return fullPath.str().copy(_allocator);
  553     return fullPath.str().copy(_allocator);
  577       return fullPath.str().copy(_allocator);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
  516         normExport.name = trieExport.name().copy(f->ownedAllocations);
  522           normExport.otherName = trieExport.otherName().copy(f->ownedAllocations);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
 1275         bNodeStr = bNodeStr.drop_back(edgeStr.size()-n).copy(allocator);
 1279         StringRef abEdgeStr = edgeStr.substr(0,n).copy(allocator);
 1280         StringRef bcEdgeStr = edgeStr.substr(n).copy(allocator);
 1303   auto *newNode = new (allocator) TrieNode(entry.name.copy(allocator));
 1314     newNode->_importedName = entry.otherName.copy(allocator);
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
 1086         sym.name  = tempRef.copy(file.ownedAllocations);
unittests/ADT/StringRefTest.cpp
  936   StringRef StrEmptyc = StrEmpty.copy(Alloc);
  944   StringRef Str1c = Str1.copy(Alloc);
  945   StringRef Str2c = Str2.copy(Alloc);