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

Yeah hold on, I thought this would be a three valued enum, but I see it is 
actually a four valued one.

These are controlling two separate things and we are tying them up 
unnecessarily.

Maybe two bools instead then, named:
* SuppressTagKeywordInAnonNames
* SuppressTagKeywordInElaboratedNames

Sorry for the confusion!

https://github.com/llvm/llvm-project/pull/169445
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to