We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020f63f commit cc4f3f7Copy full SHA for cc4f3f7
simplecpp.cpp
@@ -1329,7 +1329,6 @@ void simplecpp::TokenList::constFoldLogicalOp(Token *tok)
1329
void simplecpp::TokenList::constFoldQuestionOp(Token **tok1)
1330
{
1331
bool gotoTok1 = false;
1332
- // NOLINTNEXTLINE(misc-const-correctness) - technically correct but used to access non-cost data
1333
for (Token *tok = *tok1; tok && tok->op != ')'; tok = gotoTok1 ? *tok1 : tok->next) {
1334
gotoTok1 = false;
1335
if (tok->str() != "?")
@@ -1951,7 +1950,6 @@ namespace simplecpp {
1951
1950
}
1952
1953
1954
1955
Token * const output_end_1 = output.back();
1956
1957
const Token *valueToken2;
0 commit comments