https://github.com/bricknerb updated https://github.com/llvm/llvm-project/pull/111799
>From cd82d15940ca3873d57de2e9f12e14c2544138dc Mon Sep 17 00:00:00 2001 From: bricknerb <brick...@google.com> Date: Thu, 10 Oct 2024 07:44:19 +0000 Subject: [PATCH] Move Sema::WarnedStackExhausted from public to private. --- clang/include/clang/Sema/Sema.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h index e0a5397d8db80d..0ac33adfa1a85d 100644 --- a/clang/include/clang/Sema/Sema.h +++ b/clang/include/clang/Sema/Sema.h @@ -872,8 +872,6 @@ class Sema final : public SemaBase { /// For example, user-defined classes, built-in "id" type, etc. Scope *TUScope; - bool WarnedStackExhausted = false; - void incrementMSManglingNumber() const { return CurScope->incrementMSManglingNumber(); } @@ -1185,6 +1183,8 @@ class Sema final : public SemaBase { std::optional<std::unique_ptr<DarwinSDKInfo>> CachedDarwinSDKInfo; bool WarnedDarwinSDKInfoMissing = false; + bool WarnedStackExhausted = false; + Sema(const Sema &) = delete; void operator=(const Sema &) = delete; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits