[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 10:06:17 PDT 2024


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

This looks strange, can you explain what is going on here?

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


More information about the cfe-commits mailing list