MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / parser_next

Function parser_next

src/rustDemangle.cpp:692–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

690}
691
692static uint8_t parser_next(struct parser *parser) {
693 // don't advance after end of input, and return an imaginary NUL terminator
694 if (parser->next == parser->sym_len) {
695 return 0;
696 } else {
697 return parser->sym[parser->next++];
698 }
699}
700
701static NODISCARD demangle_status parser_ch(struct parser *parser, uint8_t *next) {
702 // don't advance after end of input

Calls

no outgoing calls

Tested by

no test coverage detected