[clang] [SystemZ][z/OS] Implement #pragma export (PR #141671)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 7 07:53:15 PST 2026
================
@@ -4133,6 +4216,43 @@ void PragmaMaxTokensTotalHandler::HandlePragma(Preprocessor &PP,
PP.overrideMaxTokens(MaxTokens, Loc);
}
+static void zOSPragmaHandlerHelper(Preprocessor &PP, Token &Tok,
+ tok::TokenKind TokKind) {
+ Token EoF, AnnotTok;
+ EoF.startToken();
----------------
erichkeane wrote:
Can you re-order this bit a bit? Basically, move the EoF stuff to the 'end' right before you add it. Having it all initialized before the rest of the stuff (even before Annot) throws off trying to read this for ordering.
https://github.com/llvm/llvm-project/pull/141671
More information about the cfe-commits
mailing list