Skip to content

Commit cc4f3f7

Browse files
committed
const
1 parent 020f63f commit cc4f3f7

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
@@ -1329,7 +1329,6 @@ void simplecpp::TokenList::constFoldLogicalOp(Token *tok)
13291329
void simplecpp::TokenList::constFoldQuestionOp(Token **tok1)
13301330
{
13311331
bool gotoTok1 = false;
1332-
// NOLINTNEXTLINE(misc-const-correctness) - technically correct but used to access non-cost data
13331332
for (Token *tok = *tok1; tok && tok->op != ')'; tok = gotoTok1 ? *tok1 : tok->next) {
13341333
gotoTok1 = false;
13351334
if (tok->str() != "?")
@@ -1951,7 +1950,6 @@ namespace simplecpp {
19511950
}
19521951
}
19531952

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

19571955
const Token *valueToken2;

0 commit comments

Comments
 (0)