Use deque: we do not require the MemoryBuffers do be consecutive.

This commit is contained in:
Axel Naumann 2013-08-18 10:49:14 +02:00 committed by sftnight
parent 4af1c105d6
commit 2f15384a4b

View File

@ -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;