[clang] [Clang] Emit error for duplicate mangled names within a lambda (PR #107581)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 18 12:35:14 PDT 2024


efriedma-quic wrote:

Can you add a testcase that doesn't involve lambdas?  Maybe something like the following:

```
inline void f(int) asm("foo");
inline void f(int) {}
inline void f() asm("foo");
inline void f(){}
```

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


More information about the cfe-commits mailing list