MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / TearDown

Method TearDown

include/sonic/dom/handler.h:85–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 sonic_force_inline void TearDown() {
86 if (st_ == nullptr) return;
87 for (size_t i = 0; i < np_; i++) {
88 st_[i].~NodeType();
89 }
90 std::free(st_);
91 st_ = nullptr;
92 }
93
94#define SONIC_ADD_NODE() \
95 do { \

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected