Home
last modified time | relevance | path

Searched refs:PendingComment (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/llvm/lib/Support/
H A DJSON.cpp804 assert(PendingComment.empty() && "Only one comment per value!"); in comment()
805 PendingComment = Comment; in comment()
809 if (PendingComment.empty()) in flushComment()
813 while (!PendingComment.empty()) { in flushComment()
814 auto Pos = PendingComment.find("*/"); in flushComment()
816 OS << PendingComment; in flushComment()
817 PendingComment = ""; in flushComment()
819 OS << PendingComment.take_front(Pos) << "* /"; in flushComment()
820 PendingComment = PendingComment.drop_front(Pos + 2); in flushComment()
854 assert(PendingComment.empty()); in arrayEnd()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h1080 llvm::StringRef PendingComment; variable