summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-07-13 23:19:49 +0000
committerJohn McCall <rjmccall@apple.com>2010-07-13 23:19:49 +0000
commit11e577b99a871f1b921063ae98b401fc1bcf3087 (patch)
tree5294155dc6399838d591aae690197146e53509c8 /clang/lib/CodeGen/CGException.cpp
parent51954276ccee058ba3e82f41fb09e77da39d2d85 (diff)
downloadbcm5719-llvm-11e577b99a871f1b921063ae98b401fc1bcf3087.tar.gz
bcm5719-llvm-11e577b99a871f1b921063ae98b401fc1bcf3087.zip
Work around an obnoxious GCC warning by changing semantics in a hopefully-
harmless way. llvm-svn: 108295
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r--clang/lib/CodeGen/CGException.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index bfe00ea158a..4980aad1b38 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/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");
+}
OpenPOWER on IntegriCloud