Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>, Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com> Message-ID: In-Reply-To: <llvm/llvm-project/pull/66514/cl...@github.com>
================ @@ -878,6 +878,25 @@ bool Preprocessor::HandleIdentifier(Token &Identifier) { return true; } +void Preprocessor::saveCheckPoint(const char *P) { + static constexpr ptrdiff_t Limit = 1024 * 8; + if (CheckPoints.empty()) { + CheckPoints.push_back(P); + return; + } + + const char *Cur = CheckPoints.back(); + if (Cur == P) + return; ---------------- tbaederr wrote: IIRC yes, this did happen. https://github.com/llvm/llvm-project/pull/66514 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits