| Issue | 168529 |
|---|---|
| Summary | [clang-tidy] detect unnecessary try-catch blocks |
| Labels | clang-tidy, check-request |
| Assignees | |
| Reporter | firewave |
```cpp
void cb() noexcept;
void f()
{
try {
cb();
} catch(...) {}
}
```In this case the try-catch is unnecessary as nothing in the scope is throwing.
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
