Skip to content

Commit b00c042

Browse files
committed
const
1 parent bbfc726 commit b00c042

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

simplecpp.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,6 @@ void simplecpp::TokenList::constFoldLogicalOp(Token *tok)
13541354
void simplecpp::TokenList::constFoldQuestionOp(Token **tok1)
13551355
{
13561356
bool gotoTok1 = false;
1357-
// NOLINTNEXTLINE(misc-const-correctness) - technically correct but used to access non-const data
13581357
for (Token *tok = *tok1; tok && tok->op != ')'; tok = gotoTok1 ? *tok1 : tok->next) {
13591358
gotoTok1 = false;
13601359
if (tok->str() != "?")
@@ -1950,7 +1949,6 @@ namespace simplecpp {
19501949
}
19511950
}
19521951

1953-
// NOLINTNEXTLINE(misc-const-correctness) - technically correct but used to access non-const data
19541952
Token * const output_end_1 = output.back();
19551953

19561954
const Token *valueToken2;

0 commit comments

Comments
 (0)