aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ScratchBuffer.cpp
AgeCommit message (Expand)AuthorFilesLines
2020-10-23SourceManager: Make LastLineNoContentCache and ContentCache::SourceLineCache ...Duncan P. N. Exon Smith1-5/+4
2020-10-23SourceManager: Encapsulate line number mapping into SrcMgr::LineOffsetMappingDuncan P. N. Exon Smith1-1/+1
2020-10-23SourceManager: Clarify that FileInfo always has a ContentCache, NFCDuncan P. N. Exon Smith1-2/+3
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-01-11[Lex] Use WritableMemoryBuffer in ScratchBuffer.cppPavel Labath1-4/+4
2017-07-30PR33902: Invalidate line number cache when adding more text to existing buffer.Richard Smith1-0/+8
2015-04-06MSan told me that we actually dump the entire scratch buffer into PCH files, ...Benjamin Kramer1-3/+4
2015-04-06Prefer uninitialized memory for scratch space.Benjamin Kramer1-1/+1
2014-08-29unique_ptrify SourceManager::createFileIDDavid Blaikie1-1/+1
2014-08-27Update for LLVM api change.Rafael Espindola1-4/+5
2014-05-17[C++11] Use 'nullptr'. Lex edition.Craig Topper1-1/+2
2014-05-16Rename SourceManager::createFileIDForMemBuffer()Alp Toker1-1/+1
2011-09-19Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset.Argyrios Kyrtzidis1-1/+1
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump1-5/+5
2009-03-08add \n characters to the scratch buffer *before* returned tokens. Chris Lattner1-3/+7
2009-03-08simplify some logic by making ScratchBuffer handle the application of trailingChris Lattner1-5/+11
2009-01-26This change refactors some of the low-level lexer interfaces a bit.Chris Lattner1-11/+5
2009-01-26Check in the long promised SourceLocation rewrite. This lays theChris Lattner1-1/+1
2009-01-19Make some enums in SourceLocation private, remove a useless assertion from Sc...Chris Lattner1-3/+0
2009-01-17this massive patch introduces a simple new abstraction: it makesChris Lattner1-3/+3
2008-03-15Make a major restructuring of the clang tree: introduce a top-levelChris Lattner1-0/+72