[clang] [clang-tools-extra] [llvm] [clang] WIP: Improved Context Declaration tracking (PR #107942)
Younan Zhang via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 10 08:04:50 PDT 2024
================
@@ -961,6 +961,7 @@ static const Expr *SubstituteConstraintExpressionWithoutSatisfaction(
if (MLTAL.getNumSubstitutedLevels() == 0)
return ConstrExpr;
+ MLTAL.setKind(TemplateSubstitutionKind::Rewrite);
----------------
zyn0217 wrote:
I presume this avoids creating Subst* nodes for the substitution, right?
Could you explain what we would gain from / the difference it makes this way?
https://github.com/llvm/llvm-project/pull/107942
More information about the cfe-commits
mailing list