astyle formatting
This commit is contained in:
parent
c2584aa635
commit
64e6b5186d
|
@ -6201,8 +6201,7 @@ bool Tokenizer::simplifyCAlternativeTokens()
|
|||
continue;
|
||||
tok->str(cOpIt->second);
|
||||
ret = true;
|
||||
}
|
||||
else if (Token::Match(tok, "not|compl")) {
|
||||
} else if (Token::Match(tok, "not|compl")) {
|
||||
// Don't simplify 'not p;' (in case 'not' is a type)
|
||||
if (isC() && (!Token::Match(tok->next(), "%var%|%op%|(") ||
|
||||
Token::Match(tok->previous(), "[;{}]") ||
|
||||
|
|
Loading…
Reference in New Issue