[clang] [Clang] Support libstdc++ workarounds when using `-E` (PR #210802)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 24 08:18:39 PDT 2026
================
@@ -2978,6 +2979,10 @@ class Preprocessor {
// Pragmas.
void HandlePragmaDirective(PragmaIntroducer Introducer);
+ // Cached identifiers used to implement __set_pp_state.
+ IdentifierInfo *Ident__set_pp_state;
+ IdentifierInfo *Ident__GLIBCXX__;
----------------
cor3ntin wrote:
See my comment below. we are gonna parse that once per TU
https://github.com/llvm/llvm-project/pull/210802
More information about the cfe-commits
mailing list