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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 24 09:43:52 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:

Find myself wishing we could combine this with at least `PartialOrdering` in an enum of some sort.  

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


More information about the cfe-commits mailing list