Open danix800 opened 2 months ago
@llvm/issue-subscribers-clang-frontend
Author: Ding Fei (danix800)
There's circular deps here when importing btw VarTemplateSpecializationDecl
(m
) and its type.
m
is created with a null type QualType()
, and the importing of its type will
leads to linkage computation (for the templated lambda) which depends on
the var's type (not yet imported).
A potential fix is to use a non-null type instead of a null one. But this seems still cannot ensure the computation is correct.
Any suggestions?
Importing:
stacktrace:
Testcase: