[clang][ASTImporter] add processing of SubstNonTypeTemplateParmExpr in...
[clang][ASTImporter] add processing of SubstNonTypeTemplateParmExpr in isAncestorDeclContextOf (#74991) Lack of processing of `SubstNonTypeTemplateParmExpr` in `isAncestorDeclContextOf` would make `hasAutoReturnTypeDeclaredInside` returns false and lead to infinite recursion. This patch adds the processor and try to fix [this issue](https://github.com/llvm/llvm-project/issues/74839 ) Co-authored-by:huqizhi <836744285@qq.com>
Loading
Please sign in to comment