[clang] [SystemZ][z/OS] Implement #pragma export (PR #141671)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue May 27 14:51:02 PDT 2025


================
@@ -568,6 +574,11 @@ void Parser::initializePragmaHandlers() {
   MaxTokensTotalPragmaHandler = std::make_unique<PragmaMaxTokensTotalHandler>();
   PP.AddPragmaHandler("clang", MaxTokensTotalPragmaHandler.get());
 
+  if (getLangOpts().ZOSExt) {
----------------
erichkeane wrote:

This isn't particularly ZOS specific other than for compiler compat, right?  Is there a good reason we couldn't allow this syntax on other compilers?

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


More information about the cfe-commits mailing list