cppcheck
cppcheck copied to clipboard
Fixed exception dispatch idiom not being recognized in the middle of a function
The existing check for the exception dispatch idiom only checks the beginning of a function. This PR checks the entire function for the idiom, and adds 3 new unit tests.
Sorry about the failed build, I mistakenly built with an older version of the source. Should be good now.