forked from OSchip/llvm-project
There is another implementation of PCHReaderListener around. Update it to the new interface.
llvm-svn: 108377
This commit is contained in:
parent
eebe72199e
commit
8b41f30064
|
@ -74,11 +74,13 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
virtual bool ReadPredefinesBuffer(llvm::StringRef PCHPredef,
|
||||
FileID PCHBufferID,
|
||||
virtual bool ReadPredefinesBuffer(const PCHPredefinesBlocks &Buffers,
|
||||
llvm::StringRef OriginalFileName,
|
||||
std::string &SuggestedPredefines) {
|
||||
Predefines = PCHPredef;
|
||||
Predefines = Buffers[0].Data;
|
||||
for (unsigned I = 1, N = Buffers.size(); I != N; ++I) {
|
||||
Predefines += Buffers[I].Data;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue