Query module AccidentalRethrow

name
Accidental rethrow
description
When there is nothing to rethrow, attempting to rethrow an exception will terminate the program.
kind
problem
problem.severity
warning
precision
high
id
cpp/rethrow-no-exception
tags
reliability correctness exceptions

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.

Predicates