aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-09-01 05:04:28 +0000
committerDevang Patel <dpatel@apple.com>2009-09-01 05:04:28 +0000
commite18cb0735189d79b73d3643f9bfda482a82f498d (patch)
tree2da1c54c7301cdfac4debe5e53f11460c90783d4
parent56c573ec8f87ef5fe2d507b7fc1446efa1df0043 (diff)
downloadexternal_llvm-e18cb0735189d79b73d3643f9bfda482a82f498d.zip
external_llvm-e18cb0735189d79b73d3643f9bfda482a82f498d.tar.gz
external_llvm-e18cb0735189d79b73d3643f9bfda482a82f498d.tar.bz2
Add virtual destructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80660 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/DebugInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 7c6b421..b962d13 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -128,6 +128,7 @@ namespace llvm {
if (DbgNode && !isScope())
DbgNode = 0;
}
+ virtual ~DIScope() {}
virtual const std::string &getFilename(std::string &F) const {
return F;