Lib/Support/InstructionComment.cpp
/**
 * Assign comment to current instance
 *
 * If a comment is already present, the new comment will be appended.
 *
 * For display purposes only, when generating a dump of the opcodes.
 */
Assign comment to current instance
If a comment is already present, the new comment will be appended.

For display purposes only, when generating a dump of the opcodes.
Assign comment to current instance If a comment is already present the new comment will be appended . For display purposes only when generating a dump of the opcodes .
void InstructionComment::comment(std::string msg) {
  if (msg.empty()) return;
  findAndReplaceAll(msg, "\n", "\n# ");
  if (!m_comment.empty()) {
    m_comment += "; ";
  }
  m_comment += msg;
}
void InstructionComment :: comment ( std :: string msg ) { if ( msg . empty ( ) ) return ; findAndReplaceAll ( msg , " \n " , " \n " ) ; if ( ! m_comment . empty ( ) ) { m_comment += " " ; } m_comment += msg ; }
Assign comment to current instance
 If a comment is already present, the new comment will be appended.
Assign comment to current instance If a comment is already present the new comment will be appended .