MCPcopy Create free account
hub / github.com/clice-io/clice / str_at

Function str_at

src/command/argument_parser.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52constexpr std::string_view str_at(unsigned offset) {
53 auto ref = OptionStrTable[llvm::StringTable::Offset(offset)];
54 return {ref.data(), ref.size()};
55}
56
57/// Plain enum: Options.inc combines these with bitwise-or, which needs the
58/// implicit conversion an enum class forbids.
59enum ClangDriverFlag : unsigned {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected