Issue |
132605
|
Summary |
[clang-tidy] False positive bugprone-exception-escape for throwing lambda in noexcept function
|
Labels |
clang-tidy
|
Assignees |
|
Reporter |
Eisenwave
|
https://godbolt.org/z/1sf8Gne35
```cpp
void awoo() noexcept {
[] { throw 0; };
}
```
This outputs
```
<source>:1:6: warning: an exception may be thrown in function 'awoo' which should not throw exceptions [bugprone-exception-escape]
1 | void awoo() noexcept {
| ^
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs