[clang] [SystemZ][z/OS] Add visibility features for z/OS (eg. _Export, pragma export) (PR #111035)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri May 9 06:17:19 PDT 2025


================
@@ -1400,6 +1416,171 @@ bool Parser::HandlePragmaMSAllocText(StringRef PragmaName,
   return true;
 }
 
+NestedNameSpecifier *
+Parser::zOSParseIdentifier(StringRef PragmaName,
+                           const IdentifierInfo *IdentName) {
+  NestedNameSpecifier *NestedId = nullptr;
----------------
erichkeane wrote:

What is this for the grammar of?  Are you just trying to get the name of a thing?  I did something similar, see : `ParseOpenACCIDExpression`.  For C++ you can use `ParseCXXIdExpression`, and I emulated it for C.

https://github.com/llvm/llvm-project/pull/111035


More information about the cfe-commits mailing list