Skip to content

Commit 02f2e36

Browse files
committed
const
1 parent 4c1c116 commit 02f2e36

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

simplecpp.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,6 @@ void simplecpp::TokenList::constFoldLogicalOp(Token *tok)
13841384
void simplecpp::TokenList::constFoldQuestionOp(Token *&tok1)
13851385
{
13861386
bool gotoTok1 = false;
1387-
// NOLINTNEXTLINE(misc-const-correctness) - technically correct but used to access non-const data
13881387
for (Token *tok = tok1; tok && tok->op != ')'; tok = gotoTok1 ? tok1 : SIMPLECPP_PROPAGATE_CONST_GET(tok->next)) {
13891388
gotoTok1 = false;
13901389
if (tok->str() != "?")
@@ -2022,7 +2021,6 @@ namespace simplecpp {
20222021
}
20232022
}
20242023

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

20282026
const Token *valueToken2;

0 commit comments

Comments
 (0)