[PATCH] D33537: [clang-tidy] Exception Escape Checker

Jennifer Yu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 1 08:35:21 PDT 2017


jyu2 added a comment.

In https://reviews.llvm.org/D33537#827509, @baloghadamsoftware wrote:

> Test changed. I made some bad throws reachable, but the frontend check still does detects them.


If block contains two or more throws, that mean compiler can not statically know throw is really throws.  So to avoid fails positive, if one of throw can be catch, compiler don't emit warning.

Jennifer


https://reviews.llvm.org/D33537





More information about the cfe-commits mailing list