[llvm-commits] CVS: llvm/include/llvm/PassAnalysisSupport.h
Reid Spencer
reid at x10sys.com
Sun Apr 24 15:20:43 PDT 2005
Changes in directory llvm/include/llvm:
PassAnalysisSupport.h updated: 1.19 -> 1.20
---
Log message:
Shut GCC 4.0 up when it complains about classes with virtual functions that
don't have virtual destructors.
---
Diffs of the changes: (+1 -0)
PassAnalysisSupport.h | 1 +
1 files changed, 1 insertion(+)
Index: llvm/include/llvm/PassAnalysisSupport.h
diff -u llvm/include/llvm/PassAnalysisSupport.h:1.19 llvm/include/llvm/PassAnalysisSupport.h:1.20
--- llvm/include/llvm/PassAnalysisSupport.h:1.19 Thu Apr 21 15:11:51 2005
+++ llvm/include/llvm/PassAnalysisSupport.h Sun Apr 24 17:20:32 2005
@@ -105,6 +105,7 @@
// 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;
More information about the llvm-commits
mailing list