forked from OSchip/llvm-project
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:
parent
71a0fe4b0c
commit
ed35df1701
|
@ -211,7 +211,7 @@ public:
|
|||
return sizes;
|
||||
}
|
||||
|
||||
virtual void getMemoryBufferSizes(MemoryBufferSizes &sizes) const = 0;
|
||||
virtual void getMemoryBufferSizes(MemoryBufferSizes &sizes) const;
|
||||
|
||||
protected:
|
||||
static DeclContextLookupResult
|
||||
|
|
|
@ -57,3 +57,5 @@ ExternalASTSource::FindExternalLexicalDecls(const DeclContext *DC,
|
|||
llvm::SmallVectorImpl<Decl*> &Result) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void ExternalASTSource::getMemoryBufferSizes(MemoryBufferSizes &sizes) const { }
|
||||
|
|
Loading…
Reference in New Issue