< only starts a declspec in objc mode.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54089 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp
index 51230fc..e7b73cf 100644
--- a/lib/Parse/ParseDecl.cpp
+++ b/lib/Parse/ParseDecl.cpp
@@ -1024,10 +1024,11 @@
     
     // GNU attributes.
   case tok::kw___attribute:
-  
-    // GNU bizarre protocol extension. FIXME: make an extension?
-  case tok::less:
     return true;
+  
+    // GNU ObjC bizarre protocol extension: <proto1,proto2> with implicit 'id'.
+  case tok::less:
+    return getLang().ObjC1;
     
     // typedef-name
   case tok::identifier: