[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:45 PST 2025
================
@@ -1,4 +1,4 @@
// RUN: %clang_cc1 -std=c++98 -fsyntax-only -verify %s
// expected-no-diagnostics
void f(void *);
-void g() { f(__nullptr); }
+void g() { f(__nullptr); }
----------------
justinfargnoli wrote:
```suggestion
void g() { f(__nullptr); }
```
https://github.com/llvm/llvm-project/pull/122754
More information about the cfe-commits
mailing list