MCPcopy Create free account
hub / github.com/Kitware/CMake / unindent

Method unindent

Utilities/cmjsoncpp/src/lib_json/json_writer.cpp:610–613  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608void StyledWriter::indent() { indentString_ += String(indentSize_, ' '); }
609
610void StyledWriter::unindent() {
611 assert(indentString_.size() >= indentSize_);
612 indentString_.resize(indentString_.size() - indentSize_);
613}
614
615void StyledWriter::writeCommentBeforeValue(const Value& root) {
616 if (!root.hasComment(commentBefore))

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected