Use deque: we do not require the MemoryBuffers do be consecutive.
This commit is contained in:
parent
4af1c105d6
commit
2f15384a4b
@ -58,7 +58,7 @@ namespace cling {
|
||||
llvm::OwningPtr<clang::Parser> m_Parser;
|
||||
|
||||
// One buffer for each command line, owner by the source file manager
|
||||
std::vector<llvm::MemoryBuffer*> m_MemoryBuffers;
|
||||
std::deque<llvm::MemoryBuffer*> m_MemoryBuffers;
|
||||
|
||||
// file ID of the memory buffer
|
||||
clang::FileID m_VirtualFileID;
|
||||
|
Loading…
Reference in New Issue
Block a user