Skip to content

Commit 4682208

Browse files
author
QingShan Zhang
committed
[NFC] Correct the example in the comments of JSON.h to avoid mislead
user
1 parent ee75794 commit 4682208

File tree

1 file changed

+1
-1
lines changed
  • llvm/include/llvm/Support

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/JSON.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ class ParseError : public llvm::ErrorInfo<ParseError> {
714714
/// J.attribute("timestamp", int64_t(E.Time));
715715
/// J.attributeArray("participants", [&] {
716716
/// for (const Participant &P : E.Participants)
717-
/// J.string(P.toString());
717+
/// J.value(P.toString());
718718
/// });
719719
/// });
720720
/// });

0 commit comments

Comments
 (0)