[clang] [Clang][Sema] Refactor collection of multi-level template argument lists (PR #106585)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 17 12:26:43 PDT 2024


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

Right, sure... I guess I'm confused as to the old implementation then.  Was it just wrong? 

https://github.com/llvm/llvm-project/pull/106585


More information about the cfe-commits mailing list