Skip to content

Commit 855c2b9

Browse files
committed
mitigated bugprone-assignment-in-selection-statement clang-tidy warning
1 parent 3a5ab21 commit 855c2b9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

simplecpp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3783,6 +3783,7 @@ void simplecpp::preprocess(simplecpp::TokenList &output, const simplecpp::TokenL
37833783
std::string header;
37843784

37853785
if (systemheader) {
3786+
// NOLINTNEXTLINE(bugprone-assignment-in-selection-statement)
37863787
while ((tok = tok->next) && tok->op != '>')
37873788
header += tok->str();
37883789
if (tok && tok->op == '>')

0 commit comments

Comments
 (0)