Add __private_extern__ keyword and recognize it. Added a FIXME to indicate there is still work to do.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45135 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Parse/ParseDecl.cpp b/Parse/ParseDecl.cpp
index d9ec4dd..bed3d96 100644
--- a/Parse/ParseDecl.cpp
+++ b/Parse/ParseDecl.cpp
@@ -441,6 +441,10 @@
Diag(Tok, diag::ext_thread_before, "extern");
isInvalid = DS.SetStorageClassSpec(DeclSpec::SCS_extern, Loc, PrevSpec);
break;
+ case tok::kw___private_extern__:
+ // FIXME: Implement private extern.
+ isInvalid = DS.SetStorageClassSpec(DeclSpec::SCS_extern, Loc, PrevSpec);
+ break;
case tok::kw_static:
if (DS.isThreadSpecified())
Diag(Tok, diag::ext_thread_before, "static");
@@ -917,6 +921,7 @@
// storage-class-specifier
case tok::kw_typedef:
case tok::kw_extern:
+ case tok::kw___private_extern__:
case tok::kw_static:
case tok::kw_auto:
case tok::kw_register: