Skip to content

Commit de7e65d

Browse files
committed
added consts, masked a lint in reflect.h2 to pass clang-tidy
1 parent f1b9aea commit de7e65d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/reflect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3642,7 +3642,7 @@ parse_context_branch_reset_state::parse_context_branch_reset_state(){}
36423642
#line 1978 "reflect.h2"
36433643
[[nodiscard]] auto parse_context::grab_until_impl(cpp2::impl::in<std::string> e, cpp2::impl::out<std::string> r, cpp2::impl::in<bool> any) & -> bool
36443644
{
3645-
auto end {pos};
3645+
auto end {pos}; // NOLINT(clang-analyzer-deadcode.DeadStores)
36463646
if (any) {
36473647
end = regex.find_first_of(e, pos);
36483648
}

source/reflect.h2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1977,7 +1977,7 @@ parse_context: type =
19771977

19781978
private grab_until_impl: (inout this, in e: std::string, out r: std::string, any: bool) -> bool =
19791979
{
1980-
end:= pos;
1980+
end:= pos; // NOLINT(clang-analyzer-deadcode.DeadStores)
19811981
if any {
19821982
end = regex..find_first_of(e, pos);
19831983
}

0 commit comments

Comments
 (0)