[PATCH] D21232: Add attribute noreturn to functions that throw

Marshall Clow via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 10:47:22 PDT 2016


mclow.lists added a comment.

My understanding of `noreturn` is that control will never return to the caller.  That's not the case if the call throws an exception - control returns to the caller, searching for catch blocks.


https://reviews.llvm.org/D21232





More information about the llvm-commits mailing list