[clang] [SystemZ][z/OS] Add visibility features for z/OS (eg. _Export, pragma export) (PR #111035)
Sean Perry via cfe-commits
cfe-commits at lists.llvm.org
Tue May 20 19:25:51 PDT 2025
================
@@ -4504,6 +4504,11 @@ void Parser::ParseDeclarationSpecifiers(
isInvalid = DS.setFunctionSpecNoreturn(Loc, PrevSpec, DiagID);
break;
+ case tok::kw__Export:
+ // We're done with the declaration-specifiers.
+ goto DoneWithDeclSpec;
----------------
perry-ca wrote:
`_Export` is part of the declarator. If you see the keyword, the declspec is done and and you are now in the declarator.
https://github.com/llvm/llvm-project/pull/111035
More information about the cfe-commits
mailing list