astyle formatting

This commit is contained in:
Daniel Marjamäki 2018-03-12 13:43:04 +01:00
parent 31dd4ed787
commit 0d2171a553
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ void CheckSizeof::sizeofCalculation()
for (const Token *tok = _tokenizer->tokens(); tok; tok = tok->next()) {
if (!Token::simpleMatch(tok, "sizeof ("))
continue;
continue;
// ignore if the `sizeof` result is cast to void inside a macro, i.e. the calculation is
// expected to be parsed but skipped, such as in a disabled custom ASSERT() macro