steakhal added a comment. What happens if the import fails? Or alternatively the `InitializeImportedDecl(FromD, ToD)` fails? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D123685/new/ https://reviews.llvm.org/D123685