diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-04-24 22:20:32 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-04-24 22:20:32 +0000 |
commit | 628748650faa502b6c7d6615e94dc64255520069 (patch) | |
tree | 29e2e82800bcecca090932693581fdc2e566846f /include/llvm/PassAnalysisSupport.h | |
parent | ad1f0cd0cc88b39d237df67722e1fa7b56d5e74c (diff) | |
download | external_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.h | 1 |
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; |