MCPcopy Create free account
hub / github.com/KDE/kdevelop / addCommentSequence

Method addCommentSequence

kdevplatform/util/formattinghelpers.cpp:197–200  ·  view source on GitHub ↗

Insert or remove an opening "/*" or closing "*/" comment sequence.

Source from the content-addressed store, hash-verified

195
196 /// Insert or remove an opening "/*" or closing "*/" comment sequence.
197 void addCommentSequence(bool isOpening, bool isInserted)
198 {
199 m_stacks[commentsIndex].addBracket(isOpening, isInserted);
200 }
201
202 /**
203 * Validate brackets and comments once parsing ends.

Callers 1

addIfCommentSequenceMethod · 0.80

Calls 1

addBracketMethod · 0.45

Tested by

no test coverage detected