[clang] [clang-tools-extra] [lldb] [clang][TypePrinter] Unify printing of anonymous/unnamed tag types (PR #169445)
Michael Buch via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 9 06:54:12 PST 2025
================
@@ -121,6 +123,7 @@ struct PrintingPolicy {
/// \endcode
LLVM_PREFERRED_TYPE(bool)
unsigned SuppressTagKeyword : 1;
+ unsigned SuppressTagKeywordInAnonymousTagNames : 1;
----------------
Michael137 wrote:
Actually, I confused myself initially and a three-valued enum *does* work: `None`, `InElaboratedNames`, `All`. But, after playing around with this, I do agree that two booleans describing the exact thing they are affecting seems better. I'll go with that for now
https://github.com/llvm/llvm-project/pull/169445
More information about the cfe-commits
mailing list