reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
14 char *P = Alloc.Allocate<char>(S.size() + 1); 15 if (!S.empty()) 16 memcpy(P, S.data(), S.size()); 16 memcpy(P, S.data(), S.size()); 17 P[S.size()] = '\0'; 18 return StringRef(P, S.size());