This fixes code like "if((bool)x) {}" for example.
Patch by Nate Begeman.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44159
91177308-0d34-0410-b5e6-
96231b3b80d8
case tok::kw_int:
case tok::kw_float:
case tok::kw_double:
+ case tok::kw_bool:
case tok::kw__Bool:
case tok::kw__Decimal32:
case tok::kw__Decimal64:
case tok::kw_int:
case tok::kw_float:
case tok::kw_double:
+ case tok::kw_bool:
case tok::kw__Bool:
case tok::kw__Decimal32:
case tok::kw__Decimal64:
case tok::kw_void:
case tok::kw_volatile:
case tok::kw_while:
+ case tok::kw_bool:
case tok::kw__Bool:
case tok::kw__Complex:
IdentifierInfo *II = Tok.getIdentifierInfo();