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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to