Construct a vector of StringRefs from a null‐terminated C‐string array.
Synopsis
Declared in <llvm/ADT/StringExtras.h>
std::vector<StringRef>
toStringRefArray(char const const** Strings);
Description
Given an array of c‐style strings terminated by a null pointer, construct a vector of StringRefs representing the same strings without the terminating null string.
Return Value
A vector of StringRefs for the C strings.
Parameters
Name |
Description |
Strings |
null‐terminated array of C strings |
Created with MrDocs