================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to