Issue 169315
Summary [clang] Clang should warn for ignored result of string literals operators
Labels clang
Assignees
Reporter H-G-Hristov
    This came up during a review: https://github.com/llvm/llvm-project/pull/169010#discussion_r2555372077

Maybe Clang should warn when `string` and `string_view` literals operator result is unused:

```c++
  ""s;
  L""s;

  ""sv;
  L""sv;
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to