Introduce a ScopedFatalErrorHandler class to make it easy to register
authorDan Gohman <gohman@apple.com>
Wed, 18 Aug 2010 20:16:39 +0000 (20:16 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 18 Aug 2010 20:16:39 +0000 (20:16 +0000)
commite16068240e21650becf9b47a4dc2284531397696
treef17b1f932dd56fe4004a0fed9fd90a8d3e578ce9
parentcf16bea74e3a6f84af914520562e9f9c5dfa0fad
Introduce a ScopedFatalErrorHandler class to make it easy to register
fatal error handlers which automatically get unregistered at the end
of a scope.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111398 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ErrorHandling.h