From ffffb7a25a7cb5370ac1ed8dee4c7197a77afde8 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Wed, 6 Apr 2022 15:41:11 +0200 Subject: doc: Convert remaining comments to clang-tidy format --- src/script/miniscript.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/script/miniscript.h') diff --git a/src/script/miniscript.h b/src/script/miniscript.h index b54653c548..5c1cc316dc 100644 --- a/src/script/miniscript.h +++ b/src/script/miniscript.h @@ -1503,27 +1503,27 @@ inline NodeRef DecodeScript(I& in, I last, const Ctx& ctx) } case DecodeContext::AND_V: { if (constructed.size() < 2) return {}; - BuildBack(Fragment::AND_V, constructed, /* reverse */ true); + BuildBack(Fragment::AND_V, constructed, /*reverse=*/true); break; } case DecodeContext::AND_B: { if (constructed.size() < 2) return {}; - BuildBack(Fragment::AND_B, constructed, /* reverse */ true); + BuildBack(Fragment::AND_B, constructed, /*reverse=*/true); break; } case DecodeContext::OR_B: { if (constructed.size() < 2) return {}; - BuildBack(Fragment::OR_B, constructed, /* reverse */ true); + BuildBack(Fragment::OR_B, constructed, /*reverse=*/true); break; } case DecodeContext::OR_C: { if (constructed.size() < 2) return {}; - BuildBack(Fragment::OR_C, constructed, /* reverse */ true); + BuildBack(Fragment::OR_C, constructed, /*reverse=*/true); break; } case DecodeContext::OR_D: { if (constructed.size() < 2) return {}; - BuildBack(Fragment::OR_D, constructed, /* reverse */ true); + BuildBack(Fragment::OR_D, constructed, /*reverse=*/true); break; } case DecodeContext::ANDOR: { @@ -1607,7 +1607,7 @@ inline NodeRef DecodeScript(I& in, I last, const Ctx& ctx) if (in >= last) return {}; if (in[0].first == OP_IF) { ++in; - BuildBack(Fragment::OR_I, constructed, /* reverse */ true); + BuildBack(Fragment::OR_I, constructed, /*reverse=*/true); } else if (in[0].first == OP_NOTIF) { ++in; to_parse.emplace_back(DecodeContext::ANDOR, -1, -1); -- cgit v1.2.3