From bc24a6c5d89f6cc2723f2d9a3a6493d4cb8ac9ca Mon Sep 17 00:00:00 2001 From: Jon Ross-Perkins Date: Wed, 4 Dec 2024 17:29:53 -0800 Subject: [PATCH] Refactor IdBase to provide CRTP-based printing (#4626) This removes a lot of boilerplate `Print` functions in favor of a CRTP-based approach that uses a `Label` field as an automatic prefix. This `Label` is also made available for other purposes, particularly `IdKind` crash messages in this change. In particular, for `RequireIdKind` in node_stack.h from using numeric IdKinds (e.g., 5 and 24) to something that will print `IdKind(