aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/PassAnalysisSupport.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-04-24 22:20:32 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-04-24 22:20:32 +0000
commit628748650faa502b6c7d6615e94dc64255520069 (patch)
tree29e2e82800bcecca090932693581fdc2e566846f /include/llvm/PassAnalysisSupport.h
parentad1f0cd0cc88b39d237df67722e1fa7b56d5e74c (diff)
downloadexternal_llvm-628748650faa502b6c7d6615e94dc64255520069.zip
external_llvm-628748650faa502b6c7d6615e94dc64255520069.tar.gz
external_llvm-628748650faa502b6c7d6615e94dc64255520069.tar.bz2
Shut GCC 4.0 up when it complains about classes with virtual functions that
don't have virtual destructors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/PassAnalysisSupport.h')
-rw-r--r--include/llvm/PassAnalysisSupport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/PassAnalysisSupport.h b/include/llvm/PassAnalysisSupport.h
index 9d6aac3..9f70d7e 100644
--- 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;