ikudrin added a comment. I agree that it'd be expensive to put a new counter after each function call. Even if there is no `throw` statement within a TU, called functions still may raise exceptions. Anyway, if we come across a `try` statement, we can guess that some exceptions are expected and do our best to support constructions like this:
try { ... } catch (...) { ... throw; } http://reviews.llvm.org/D20878 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits