chore: Set ColumnLimit to 120 in clang-format (#6288)

This change updates the ColumnLimit from 80 to 120, and applies clang-format to reformat the code.
This commit is contained in:
Ayaz Salikhov
2026-01-28 18:09:50 +00:00
committed by GitHub
parent 92046785d1
commit 5f638f5553
1016 changed files with 26918 additions and 66660 deletions

View File

@@ -19,9 +19,7 @@ STVector256::STVector256(SerialIter& sit, SField const& name) : STBase(name)
auto const slice = sit.getSlice(sit.getVLDataLength());
if (slice.size() % uint256::size() != 0)
Throw<std::runtime_error>(
"Bad serialization for STVector256: " +
std::to_string(slice.size()));
Throw<std::runtime_error>("Bad serialization for STVector256: " + std::to_string(slice.size()));
auto const cnt = slice.size() / uint256::size();
@@ -58,11 +56,8 @@ STVector256::isDefault() const
void
STVector256::add(Serializer& s) const
{
XRPL_ASSERT(
getFName().isBinary(), "xrpl::STVector256::add : field is binary");
XRPL_ASSERT(
getFName().fieldType == STI_VECTOR256,
"xrpl::STVector256::add : valid field type");
XRPL_ASSERT(getFName().isBinary(), "xrpl::STVector256::add : field is binary");
XRPL_ASSERT(getFName().fieldType == STI_VECTOR256, "xrpl::STVector256::add : valid field type");
s.addVL(mValue.begin(), mValue.end(), mValue.size() * (256 / 8));
}