[clang] [clang-tools-extra] [clang][TypePrinter] Unify printing of anonymous/unnamed tag types (PR #169445)

Michael Buch via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 3 21:16:01 PST 2025


================
@@ -121,6 +123,7 @@ struct PrintingPolicy {
   /// \endcode
   LLVM_PREFERRED_TYPE(bool)
   unsigned SuppressTagKeyword : 1;
+  unsigned SuppressTagKeywordInAnonymousTagNames : 1;
----------------
Michael137 wrote:

Enum sounds like a good compromise, let me see what that would look like

https://github.com/llvm/llvm-project/pull/169445


More information about the cfe-commits mailing list