================ @@ -1183,7 +1181,7 @@ class Sema final : public SemaBase { std::optional<std::unique_ptr<DarwinSDKInfo>> CachedDarwinSDKInfo; bool WarnedDarwinSDKInfoMissing = false; - bool WarnedStackExhausted = false; + SingleWarningStackAwareExecutor StackAwareExecutor; ---------------- ilya-biryukov wrote:
Makes sense to keep this as an action for the future. Sharing the logic makes sense, though. Should we file an issue on GitHub and/or add a FIXME to the code that we might want to share a single instance Sema and CodeGen in the future? https://github.com/llvm/llvm-project/pull/112371 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits