[clang] [clang][Sema] Improve template argument deduction diagnostic (PR #122754)

Justin Fargnoli via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 20 16:01:46 PST 2025


================
@@ -163,4 +163,4 @@ namespace PR15673 {
            CONCEPT_REQUIRES_(some_passing_trait<T>::value && some_trait<T>::value)>
   void rangesv3(); // expected-note{{candidate template ignored: requirement 'some_trait<int>::value' was not satisfied [with T = int, x = 42]}}
   void test_rangesv3() { rangesv3<int>(); } // expected-error{{no matching function for call to 'rangesv3'}}
-}
+}
----------------
justinfargnoli wrote:

```suggestion
}

```

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


More information about the cfe-commits mailing list