Switch to llvm 17 tools (#1002)

Fixes #952
This commit is contained in:
Sergey Kuznetsov
2023-11-28 20:09:58 +00:00
committed by GitHub
parent 1be368dcaf
commit 35f119a268
305 changed files with 3955 additions and 1704 deletions

View File

@@ -16,15 +16,26 @@
*/
//==============================================================================
#include <util/Fixtures.h>
#include <util/MockETLService.h>
#include <util/MockRPCEngine.h>
#include <web/RPCServerHandler.h>
#include "feed/SubscriptionManager.h"
#include "rpc/Errors.h"
#include "util/Fixtures.h"
#include "util/MockETLService.h"
#include "util/MockRPCEngine.h"
#include "util/Taggable.h"
#include "util/config/Config.h"
#include "web/RPCServerHandler.h"
#include "web/interface/ConnectionBase.h"
#include <chrono>
#include <boost/beast/http/status.hpp>
#include <boost/json/parse.hpp>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <ripple/protocol/ErrorCodes.h>
#include <memory>
#include <stdexcept>
#include <string>
using namespace std::chrono_literals;
using namespace feed;
using namespace web;
@@ -43,9 +54,10 @@ struct MockWsBase : public web::ConnectionBase {
}
void
// NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved)
send(std::string&& msg, boost::beast::http::status status = boost::beast::http::status::ok) override
{
message += std::string(msg);
message += msg;
lastStatus = status;
}