[llvm-branch-commits] [clang] [clang] simplify placeholder type deduction for constant template parameters (PR #160439)
Erich Keane via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 24 06:27:31 PDT 2025
================
@@ -108,7 +108,7 @@ namespace Auto {
TIntPtr<IntPtr> ipip;
TAuto<Auto> aa;
- TAuto<AutoPtr> aap; // expected-error@#AutoPtr {{could not match 'auto *' against 'auto'}}
+ TAuto<AutoPtr> aap; // expected-error@#TAuto {{non-type template parameter '' with type 'auto *' has incompatible initializer of type 'auto'}}
----------------
erichkeane wrote:
What is going on with the empty quotes in the diagnostic? Can we do better at that?
https://github.com/llvm/llvm-project/pull/160439
More information about the llvm-branch-commits
mailing list