================
@@ -585,8 +585,8 @@ static bool CheckConstraintSatisfaction(
 
   ArrayRef<TemplateArgument> TemplateArgs =
       TemplateArgsLists.getNumSubstitutedLevels() > 0
-          ? TemplateArgsLists.getOutermost()
-          : ArrayRef<TemplateArgument> {};
+          ? TemplateArgsLists.getInnermost()
----------------
erichkeane wrote:

Ok, makes sense.  I am SOMEWHAT remembering that at the time we assumed that >0 
meant ==1 at the time, and 'getInnermost' wasn't actually in existence at the 
time.  So either it was typed confusingly in the 1st place, or things have 
changed in the meantime.  Either way, probably  bitrot here.

https://github.com/llvm/llvm-project/pull/106585
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to