[clang] [lldb] [BoundsSafety] Introduce LateParsedAttrType AST placeholder type (PR #204125)
Dan Liew via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 8 03:54:10 PDT 2026
================
@@ -1843,6 +1842,13 @@ ASTNodeImporter::VisitCountAttributedType(const CountAttributedType *T) {
ArrayRef(CoupledDecls));
}
+ExpectedType
+ASTNodeImporter::VisitLateParsedAttrType(const LateParsedAttrType *T) {
+ // LateParsedAttrType is a transient placeholder that should not normally
+ // appear during AST import. Import as the wrapped type.
+ return import(T->getWrappedType());
----------------
delcypher wrote:
Seeing as we have `lvm_unreachable("unreachable for serialization")` for AST serialization should we mirror that here for AST import?
https://github.com/llvm/llvm-project/pull/204125
More information about the cfe-commits
mailing list