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