Lines Matching refs:Buffers
1 //===- SourceMgr.h - Manager for Source Buffers & Diagnostics ---*- C++ -*-===//
54 /// Buffers - This is all of the buffers that we are reading from.
55 std::vector<SrcBuffer> Buffers;
89 assert(i < Buffers.size() && "Invalid Buffer ID!");
90 return Buffers[i];
94 assert(i < Buffers.size() && "Invalid Buffer ID!");
95 return Buffers[i].Buffer;
99 assert(i < Buffers.size() && "Invalid Buffer ID!");
100 return Buffers[i].IncludeLoc;
109 Buffers.push_back(NB);
110 return Buffers.size()-1;