Serosh-commits wrote: > I think the better approach would be for error recovery to proceed as if the > user didn't write that extraneous qualification.
@mizvekov yup used `setInvalidDecl()` because the qualified friend definition makes the redeclaration chain inconsistent the friend becomes a `FunctionDecl` but the template expects a `FunctionTemplateDecl` so ii marked it invalid and skipped the search to avoid the crash it felt safer to me but yeah i will try fix it by error recovery method as u said thanks for the feedback https://github.com/llvm/llvm-project/pull/186398 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
