================
@@ -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__;
----------------
AaronBallman wrote:

I see it being used; we need an `IdentifierInfo *` for the macro names we care 
about and we don't want to re-create the `IdentifierInfo *` each time so we 
cache it.

I'd rather these were grouped with the rest of them towards the top of the 
class though.

https://github.com/llvm/llvm-project/pull/210802
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to