[clang] Rework the printing of attributes (PR #87281)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 2 07:40:30 PDT 2024
================
@@ -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,
----------------
vgvassilev wrote:
Unknown means that we have no preference and we want to keep the old behavior of `prettyPrintAttributes`.
https://github.com/llvm/llvm-project/pull/87281
More information about the cfe-commits
mailing list