[clang] [clang] disallow narrowing when matching template template parameters (PR #124313)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 27 11:53:09 PST 2025


================
@@ -11682,6 +11683,7 @@ class Sema final : public SemaBase {
                         SmallVectorImpl<TemplateArgument> &SugaredConverted,
                         SmallVectorImpl<TemplateArgument> &CanonicalConverted,
                         CheckTemplateArgumentKind CTAK, bool PartialOrdering,
+                        bool PartialOrderingTTP,
----------------
erichkeane wrote:

This is a case where I would really like to stop the bleeding, so I'd like to find a better solution than just a pair of bools here.  If you have a patch to do the refactor, it would be nice to land that first to see its effect in action.

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


More information about the cfe-commits mailing list