[clang] [clang-tools-extra] [clang][TypePrinter] Unify printing of anonymous/unnamed tag types (PR #169445)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 2 08:39:53 PST 2025
================
@@ -121,6 +123,7 @@ struct PrintingPolicy {
/// \endcode
LLVM_PREFERRED_TYPE(bool)
unsigned SuppressTagKeyword : 1;
+ unsigned SuppressTagKeywordInAnonymousTagNames : 1;
----------------
mizvekov wrote:
Maybe better to turn this into an 3 valued enum.
Or at least document this separatelly.
https://github.com/llvm/llvm-project/pull/169445
More information about the cfe-commits
mailing list