Skip to content
Unverified Commit 72e8ab7d authored by Qizhi Hu's avatar Qizhi Hu Committed by GitHub
Browse files

[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: default avatarhuqizhi <836744285@qq.com>
parent 9b561ca0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment