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

Yeoul Na via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 16 14:35:13 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.
----------------
rapidsna wrote:

This can happen during debugging the compiler.

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


More information about the cfe-commits mailing list