Lines Matching defs:comment
24 void AnnotationProcessor::appendCommentLine(std::string& comment) {
28 if (comment.find(sDeprecated) != std::string::npos) {
32 std::string::size_type idx = comment.find(sSystemApi);
35 comment.erase(comment.begin() + idx, comment.begin() + idx + sSystemApi.size());
38 if (util::trimWhitespace(comment).empty()) {
47 mComment << "\n * " << std::move(comment);
50 void AnnotationProcessor::appendComment(const StringPiece16& comment) {
52 for (StringPiece16 line : util::tokenize(comment, u'\n')) {
61 void AnnotationProcessor::appendComment(const StringPiece& comment) {
62 for (StringPiece line : util::tokenize(comment, '\n')) {