From Vassil Vassilev:

Like in r126648, provide (empty) default implementation for pure virtual getMemoryBufferSizes(). Not all use cases have meaningful implementations.

llvm-svn: 130838
This commit is contained in:
Axel Naumann 2011-05-04 12:59:24 +00:00
parent 71a0fe4b0c
commit ed35df1701
2 changed files with 3 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public:
return sizes;
}
virtual void getMemoryBufferSizes(MemoryBufferSizes &sizes) const = 0;
virtual void getMemoryBufferSizes(MemoryBufferSizes &sizes) const;
protected:
static DeclContextLookupResult

View File

@ -57,3 +57,5 @@ ExternalASTSource::FindExternalLexicalDecls(const DeclContext *DC,
llvm::SmallVectorImpl<Decl*> &Result) {
return true;
}
void ExternalASTSource::getMemoryBufferSizes(MemoryBufferSizes &sizes) const { }