Lib/Support/InstructionComment.cpp
/**
 * Assign header comment to current instance
 *
 * For display purposes only, when generating a dump of the opcodes.
 */
Assign header comment to current instance
For display purposes only, when generating a dump of the opcodes.
Assign header comment to current instance For display purposes only when generating a dump of the opcodes .
void InstructionComment::header(std::string const &msg) {
  if (msg.empty()) return;
  assertq(m_header.empty(), "Header comment already has a value when setting it", true);
  m_header = msg;
  findAndReplaceAll(m_header, "\n", "\n# ");
}
void InstructionComment :: header ( std :: string const & msg ) { if ( msg . empty ( ) ) return ; assertq ( m_header . empty ( ) , " " , true ) ; m_header = msg ; findAndReplaceAll ( m_header , " \n " , " \n " ) ; }
Assign header comment to current instance
 For display purposes only, when generating a dump of the opcodes.
Assign header comment to current instance For display purposes only when generating a dump of the opcodes .