reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
401 if (c.equals(StringRef(MAI->getSeparatorString()))) 403 if (c.startswith(StringRef("//"))) { 407 ExplicitCommentToEmit.append(c.slice(2, c.size()).str()); 407 ExplicitCommentToEmit.append(c.slice(2, c.size()).str()); 408 } else if (c.startswith(StringRef("/*"))) { 409 size_t p = 2, len = c.size() - 2; 412 size_t newp = std::min(len, c.find_first_of("\r\n", p)); 415 ExplicitCommentToEmit.append(c.slice(p, newp).str()); 421 } else if (c.startswith(StringRef(MAI->getCommentString()))) { 423 ExplicitCommentToEmit.append(c.str()); 424 } else if (c.front() == '#') { 428 ExplicitCommentToEmit.append(c.slice(1, c.size()).str()); 428 ExplicitCommentToEmit.append(c.slice(1, c.size()).str()); 432 if (c.back() == '\n')