[clang] [BoundsSafety] Support bounds-safety attributes in type positions (PR #179612)

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 16 07:14:03 PST 2026


================
@@ -1815,6 +1852,20 @@ void TypePrinter::printCountAttributedAfter(const CountAttributedType *T,
     printCountAttributedImpl(T, OS, Policy);
 }
 
+void TypePrinter::printLateParsedAttrBefore(const LateParsedAttrType *T,
+                                            raw_ostream &OS) {
+  // LateParsedAttrType is a transient placeholder that should not appear
+  // in user-facing output. Just print the wrapped type.
----------------
zmodem wrote:

But can it happen? If not, maybe this should be unreachable?

https://github.com/llvm/llvm-project/pull/179612


More information about the cfe-commits mailing list