[all-commits] [llvm/llvm-project] 140b7b: [JSON] Allow emitting comments in json::OStream

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Sep 23 14:35:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 140b7b6f09ca01f89701ccc86ddd8553cf42c311
      https://github.com/llvm/llvm-project/commit/140b7b6f09ca01f89701ccc86ddd8553cf42c311
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Support/JSON.h
    M llvm/lib/Support/JSON.cpp
    M llvm/unittests/Support/JSONTest.cpp

  Log Message:
  -----------
  [JSON] Allow emitting comments in json::OStream

This isn't standard JSON, but is a popular extension.
It will be used to show errors in context, rendering pseudo-json for humans.

Differential Revision: https://reviews.llvm.org/D88103




More information about the All-commits mailing list