================ @@ -1909,6 +1911,12 @@ void TypePrinter::printAttributedAfter(const AttributedType *T, OS << " [[clang::lifetimebound]]"; return; } + if (T->getAttrKind() == attr::LifetimeCaptureBy) { + // FIXME: Print the attribute arguments once we have a way to retrieve these + // here. + OS << " [[clang::lifetime_capture_by(...)"; ---------------- hokein wrote:
nit: it looks like it misses the closing `]]` https://github.com/llvm/llvm-project/pull/111499 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits