diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index c42a7151b..8fdc5bc5e 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -5719,6 +5719,10 @@ void Tokenizer::simplifyStdType() tok->isUnsigned(isUnsigned); tok->isSigned(!isUnsigned); } + if (Token::Match(tok, "bool")) + { + tok->isBoolean(true); + } if (Token::Match(tok, "__int8")) tok->str("char");