MCPcopy Create free account
hub / github.com/MaskRay/ccls / string

Method string

src/serializer.hh:124–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 std::string take() { return std::move(buf_); }
123
124 void string(const char *x) { string(x, strlen(x)); }
125 void string(const char *x, size_t len) {
126 auto i = buf_.size();
127 buf_.resize(i + len + 1);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected