summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorQingShan Zhang <qshanz@cn.ibm.com>2019-12-11 10:00:05 +0000
committerQingShan Zhang <qshanz@cn.ibm.com>2019-12-11 10:03:34 +0000
commit46822083ef9f03ceb26db80410e47f23aa9bd7ae (patch)
tree339e8c603f45641e4ad54a27637c96bb936614d2 /llvm
parentee7579409b7d940c4e1314d126e900db30c4edff (diff)
downloadbcm5719-llvm-46822083ef9f03ceb26db80410e47f23aa9bd7ae.tar.gz
bcm5719-llvm-46822083ef9f03ceb26db80410e47f23aa9bd7ae.zip
[NFC] Correct the example in the comments of JSON.h to avoid mislead
user
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/JSON.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/JSON.h b/llvm/include/llvm/Support/JSON.h
index 2657ea7dfbe..2c63468c401 100644
--- a/llvm/include/llvm/Support/JSON.h
+++ b/llvm/include/llvm/Support/JSON.h
@@ -714,7 +714,7 @@ public:
/// J.attribute("timestamp", int64_t(E.Time));
/// J.attributeArray("participants", [&] {
/// for (const Participant &P : E.Participants)
-/// J.string(P.toString());
+/// J.value(P.toString());
/// });
/// });
/// });
OpenPOWER on IntegriCloud