We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c1c116 commit 02f2e36Copy full SHA for 02f2e36
1 file changed
simplecpp.cpp
@@ -1384,7 +1384,6 @@ void simplecpp::TokenList::constFoldLogicalOp(Token *tok)
1384
void simplecpp::TokenList::constFoldQuestionOp(Token *&tok1)
1385
{
1386
bool gotoTok1 = false;
1387
- // NOLINTNEXTLINE(misc-const-correctness) - technically correct but used to access non-const data
1388
for (Token *tok = tok1; tok && tok->op != ')'; tok = gotoTok1 ? tok1 : SIMPLECPP_PROPAGATE_CONST_GET(tok->next)) {
1389
gotoTok1 = false;
1390
if (tok->str() != "?")
@@ -2022,7 +2021,6 @@ namespace simplecpp {
2022
2021
}
2023
2024
2025
2026
Token * const output_end_1 = output.back();
2027
2028
const Token *valueToken2;
0 commit comments