projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e5367d
)
Add a virtual destructor to silence a GCC warning.
author
Chandler Carruth
<chandlerc@gmail.com>
Mon, 18 Oct 2010 23:18:51 +0000
(23:18 +0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Mon, 18 Oct 2010 23:18:51 +0000
(23:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116766
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCObjectFormat.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCObjectFormat.h
b/include/llvm/MC/MCObjectFormat.h
index 80b7295f1f95bbb94e79ade937513fd2edf299b9..2ee3ba3cda4f2f169b25332259da4c0e41a5cc43 100644
(file)
--- a/
include/llvm/MC/MCObjectFormat.h
+++ b/
include/llvm/MC/MCObjectFormat.h
@@
-15,6
+15,8
@@
class MCSymbol;
class MCObjectFormat {
public:
+ virtual ~MCObjectFormat() {}
+
/// isAbsolute - Check if A - B is an absolute value
///
/// \param InSet - True if this expression is in a set. For example: