Older compilers won't like the inline virtual destructor in the header file

so we put the destructor in Pass.cpp and make it non-inline.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21520 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2005-04-25 01:01:35 +00:00
parent fd84c2d89c
commit e8f3848639
2 changed files with 4 additions and 1 deletions

View File

@@ -105,7 +105,7 @@ public:
// is used to pull analysis information out of them.
//
struct AnalysisResolver {
virtual ~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;