MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / Pop

Method Pop

eval/eval/evaluator_stack.h:165–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 void Pop() {
166 ABSL_DCHECK(!empty());
167
168 --values_;
169 values_->~Value();
170 --attributes_;
171 attributes_->~AttributeTrail();
172
173 ABSL_ANNOTATE_CONTIGUOUS_CONTAINER(values_begin_, values_begin_ + max_size_,
174 values_ + 1, values_);
175 ABSL_ANNOTATE_CONTIGUOUS_CONTAINER(attributes_begin_,
176 attributes_begin_ + max_size_,
177 attributes_ + 1, attributes_);
178 }
179
180 // Clears the last size elements of the stack.
181 // Checking that stack has enough elements is caller's responsibility.

Callers

nothing calls this directly

Calls 1

emptyFunction · 0.50

Tested by

no test coverage detected