================ @@ -0,0 +1,46 @@ +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#include "Protocol/ProtocolEvents.h" +#include "TestingSupport/TestUtilities.h" +#include "llvm/Testing/Support/Error.h" +#include <gtest/gtest.h> + +using namespace llvm; +using namespace lldb_dap::protocol; +using llvm::json::parse; +using llvm::json::Value; + +/// Returns a pretty printed json string of a `llvm::json::Value`. +static std::string pp(const Value &E) { return formatv("{0:2}", E).str(); } ---------------- da-viper wrote:
there is the `PrettyPrint` from `TestUtilities.cpp` https://github.com/llvm/llvm-project/pull/176273 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
