MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / DecreaseIndent

Method DecreaseIndent

OutputFormatHelper.h:153–158  ·  view source on GitHub ↗

\brief Decrease the current indention by \c SCOPE_INDENT

Source from the content-addressed store, hash-verified

151 void IncreaseIndent() { mDefaultIndent += SCOPE_INDENT; }
152 /// \brief Decrease the current indention by \c SCOPE_INDENT
153 void DecreaseIndent()
154 {
155 if(mDefaultIndent >= SCOPE_INDENT) {
156 mDefaultIndent -= SCOPE_INDENT;
157 }
158 }
159
160 /// \brief Open a scope by inserting a '{' followed by an indented newline.
161 void OpenScope()

Callers 1

InsertArgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected