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:
ad1f0cd
)
Shut GCC 4.0 up when it complains about classes with virtual functions that
author
Reid Spencer
<rspencer@reidspencer.com>
Sun, 24 Apr 2005 22:20:32 +0000
(22:20 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sun, 24 Apr 2005 22:20:32 +0000
(22:20 +0000)
don't have virtual destructors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21507
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/PassAnalysisSupport.h
patch
|
blob
|
history
diff --git
a/include/llvm/PassAnalysisSupport.h
b/include/llvm/PassAnalysisSupport.h
index 9d6aac3e523fb0159843db609d11e54624b886d7..9f70d7e3852f4e3aaf2a136fe2ac9a61b0e4e58e 100644
(file)
--- a/
include/llvm/PassAnalysisSupport.h
+++ b/
include/llvm/PassAnalysisSupport.h
@@
-105,6
+105,7
@@
public:
// is used to pull analysis information out of them.
//
struct AnalysisResolver {
+ virtual ~AnalysisResolver() {}
virtual Pass *getAnalysisOrNullUp(AnalysisID ID) const = 0;
virtual Pass *getAnalysisOrNullDown(AnalysisID ID) const = 0;
virtual void addPass(ImmutablePass *IP, AnalysisUsage &AU) = 0;