We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbfc726 commit b00c042Copy full SHA for b00c042
1 file changed
simplecpp.cpp
@@ -1354,7 +1354,6 @@ void simplecpp::TokenList::constFoldLogicalOp(Token *tok)
1354
void simplecpp::TokenList::constFoldQuestionOp(Token **tok1)
1355
{
1356
bool gotoTok1 = false;
1357
- // NOLINTNEXTLINE(misc-const-correctness) - technically correct but used to access non-const data
1358
for (Token *tok = *tok1; tok && tok->op != ')'; tok = gotoTok1 ? *tok1 : tok->next) {
1359
gotoTok1 = false;
1360
if (tok->str() != "?")
@@ -1950,7 +1949,6 @@ namespace simplecpp {
1950
1949
}
1951
1952
1953
1954
Token * const output_end_1 = output.back();
1955
1956
const Token *valueToken2;
0 commit comments