diff options
author | John McCall <rjmccall@apple.com> | 2010-07-13 23:19:49 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-07-13 23:19:49 +0000 |
commit | 3e29f96988b0438e42dba3790f61fb3df42d90cb (patch) | |
tree | c8c743e6ecec3e27d4230d9a01daaa6659b49b1e /lib/CodeGen/CGException.cpp | |
parent | e39a3894513349908cdb3beba2614e53cb288e6c (diff) |
Work around an obnoxious GCC warning by changing semantics in a hopefully-
harmless way.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGException.cpp')
-rw-r--r-- | lib/CodeGen/CGException.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/CGException.cpp b/lib/CodeGen/CGException.cpp index bfe00ea158..4980aad1b3 100644 --- a/lib/CodeGen/CGException.cpp +++ b/lib/CodeGen/CGException.cpp @@ -1541,4 +1541,6 @@ CodeGenFunction::CleanupBlock::~CleanupBlock() { CGF.Builder.restoreIP(SavedIP); } -void EHScopeStack::LazyCleanup::_anchor() {} +EHScopeStack::LazyCleanup::~LazyCleanup() { + llvm_unreachable("LazyCleanup is indestructable"); +} |