summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-08-18 22:40:54 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-08-18 22:40:54 +0000
commit7e70d6803d08725ec8b6d59240c35c811e5c2bb0 (patch)
tree56d110a85b0b92a2706c98788b8ca501b0d07c30 /clang/lib/CodeGen/CGCall.cpp
parentd85f7010ccf965399f6b1e4e3e708b041f70a7ed (diff)
downloadbcm5719-llvm-7e70d6803d08725ec8b6d59240c35c811e5c2bb0.tar.gz
bcm5719-llvm-7e70d6803d08725ec8b6d59240c35c811e5c2bb0.zip
Devirtualize EHScopeStack::Cleanup's dtor because it's never destroyed polymorphically
llvm-svn: 245378
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index f7107b61060..a5802346d4a 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -2851,7 +2851,7 @@ void CodeGenFunction::EmitCallArgs(
namespace {
-struct DestroyUnpassedArg : EHScopeStack::Cleanup {
+struct DestroyUnpassedArg final : EHScopeStack::Cleanup {
DestroyUnpassedArg(llvm::Value *Addr, QualType Ty)
: Addr(Addr), Ty(Ty) {}
OpenPOWER on IntegriCloud