Sirraide wrote:

I.e. could we get it to emit something like:
```console
<source>:10:5: warning: ignoring return value of type 'S<int>' declared with 
'nodiscard' attribute [-Wunused-result]
   10 |     getS(2);
      |     ^~~~ ~
1 warning generated.
```

https://github.com/llvm/llvm-project/pull/112289
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to