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

Method CloseScopeWithSemi

OutputFormatHelper.h:175–179  ·  view source on GitHub ↗

\brief Similiar to \ref CloseScope only this time a ';' is inserted after the brace.

Source from the content-addressed store, hash-verified

173
174 /// \brief Similiar to \ref CloseScope only this time a ';' is inserted after the brace.
175 void CloseScopeWithSemi(const NoNewLineBefore newLineBefore = NoNewLineBefore::No)
176 {
177 CloseScope(newLineBefore);
178 Append(';');
179 }
180
181 /// \brief Append a comma if needed.
182 void AppendComma(OnceFalse& needsComma)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected