Unverified Commit 869d1680 authored by Qizhi Hu's avatar Qizhi Hu Committed by GitHub
Browse files

[clang][ASTImporter] Fix crash when import `VarTemplateDecl` in record (#67522)



[clang][ASTImporter] Fix crash when import `VarTemplateDecl` in record
static VarTemplateDecl in record isn't a definition, when imported
before, it will crash in `ASTContext::setTemplateOrSpecializationInfo`
due to setting specialization while it already exists. This patch skip
this specific case.

Co-authored-by: default avatarhuqizhi <836744285@qq.com>
parent 6afceba5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment