diff options
author | Qizhi Hu <836744285@qq.com> | 2023-10-07 09:36:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-07 09:36:04 +0800 |
commit | 869d1680edb0cc264f01fc6e59f0a1b93330c6da (patch) | |
tree | b2ad0827c35a22b4023c3afb304f6603dc6e811e /clang/lib/Lex/Preprocessor.cpp | |
parent | 6afceba5106a2a5eb229791465d53ca4be257d5b (diff) | |
download | llvm-869d1680edb0cc264f01fc6e59f0a1b93330c6da.zip llvm-869d1680edb0cc264f01fc6e59f0a1b93330c6da.tar.gz llvm-869d1680edb0cc264f01fc6e59f0a1b93330c6da.tar.bz2 |
[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: huqizhi <836744285@qq.com>
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions