aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Parse/ParseDecl.cpp2
-rw-r--r--Parse/ParseObjc.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/Parse/ParseDecl.cpp b/Parse/ParseDecl.cpp
index 5feb40b0d9..3c2eb2a840 100644
--- a/Parse/ParseDecl.cpp
+++ b/Parse/ParseDecl.cpp
@@ -937,6 +937,7 @@ bool Parser::isTypeSpecifierQualifier() const {
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:
@@ -985,6 +986,7 @@ bool Parser::isDeclarationSpecifier() const {
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:
diff --git a/Parse/ParseObjc.cpp b/Parse/ParseObjc.cpp
index 2152601094..345906e70f 100644
--- a/Parse/ParseObjc.cpp
+++ b/Parse/ParseObjc.cpp
@@ -467,6 +467,7 @@ IdentifierInfo *Parser::ParseObjCSelector(SourceLocation &SelectorLoc) {
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();