Handle ambiguities between expressions and type-ids that occur inside parentheses, e.g.:

sizeof(int()) -> "int()" is type-id
sizeof(int()+1) -> "int()+1" is expression.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57131 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp
index eef071f..c22d9e8 100644
--- a/lib/Parse/ParseDecl.cpp
+++ b/lib/Parse/ParseDecl.cpp
@@ -1581,7 +1581,7 @@
 
   SourceLocation LParenLoc = ConsumeParen(), RParenLoc;
   
-  if (isTypeSpecifierQualifier()) {
+  if (isTypeIdInParens()) {
     TypeTy *Ty = ParseTypeName();
 
     assert(Ty && "Parser::ParseTypeofSpecifier(): missing type");