================ @@ -129,11 +118,13 @@ namespace { const TemplateParameterList *Params); void printTemplateArguments(llvm::ArrayRef<TemplateArgumentLoc> Args, const TemplateParameterList *Params); - - inline void prettyPrintAttributes(Decl *D) { - prettyPrintAttributes(D, Out); - } - + enum class AttrPosAsWritten { + Unknown = 0, ---------------- erichkeane wrote:
'Unknown' is likely to happen with 'implicit' attributes. Perhaps the 'CanPrintOnLeft' is worth keeping so that we can aggressively print those on the left? https://github.com/llvm/llvm-project/pull/87281 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits