================
@@ -97,6 +97,8 @@ enum class TemplateSubstitutionKind : char {
/// The kind of substitution described by this argument list.
TemplateSubstitutionKind Kind = TemplateSubstitutionKind::Specialization;
+ bool RetainInnerDepths = false;
----------------
zyn0217 wrote:
Our TemplateInstantiator could invoke recursive instantiation via different
Sema calls, i.e. each instantiation is started within different
TemplateInstantiator/DeclInstantiator.
The intent was to ensure that we don't have unwanted template depth getting
reduced, without spreading such flag throughout the instantiation functions.
https://github.com/llvm/llvm-project/pull/207966
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits