aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
AgeCommit message (Expand)AuthorFilesLines
2009-06-20Slight modification to column checking inside SourceManager::getLocation().Argyrios Kyrtzidis1-6/+6
2009-06-20Introduce SourceManager::getLocation() to get a source location out of a "fil...Argyrios Kyrtzidis1-1/+41
2009-06-07Remove dead code: 'NewEntry' is not used.Zhongxing Xu1-3/+0
2009-05-18Avoid potential out-of-bounds access in SourceManager::getLineNumber.Daniel Dunbar1-1/+13
2009-04-27Be more careful in our teardown of the PCHReader after deciding toDouglas Gregor1-0/+16
2009-04-27Load most of the source manager's information lazily from the PCHDouglas Gregor1-4/+52
2009-04-22Remove the serialization code that predates precompiledDouglas Gregor1-133/+1
2009-04-13Include the SourceManager's line table in the PCH file. We can nowDouglas Gregor1-0/+11
2009-04-13Factor the internals of SourceManager (specially, LineTableInfo) into a separ...Douglas Gregor1-96/+1
2009-04-02Resynchronize Decl/VarDecl serialization code with the structuresDouglas Gregor1-2/+2
2009-03-11Clear all the linetable state in clear(), fixing problemsChris Lattner1-0/+1
2009-02-17add an accessor.Chris Lattner1-0/+9
2009-02-17add an accessor.Chris Lattner1-0/+12
2009-02-15add a new SourceManager::getInstantiationRange helper method.Chris Lattner1-0/+18
2009-02-15track "just a little more" location information for macro instantiations.Chris Lattner1-7/+18
2009-02-14Fix the build on win32.Cedric Venet1-0/+6
2009-02-04Implement handling of file entry/exit notifications from GNUChris Lattner1-7/+37
2009-02-04make getFileCharacteristic linetable aware. line markers that Chris Lattner1-0/+32
2009-02-04propagate linemarker flags down into the the line table, currentlyChris Lattner1-6/+87
2009-02-04replace gimpy linear search with svelte binary search ;-)Chris Lattner1-7/+17
2009-02-04make my atrocious linear search at least search in the order that isChris Lattner1-5/+4
2009-02-04add commentChris Lattner1-1/+1
2009-02-04add the difference in the line marker phys line number and theChris Lattner1-2/+10
2009-02-04add really really trivial #line support, where #line now makes every Chris Lattner1-8/+54
2009-02-04lower the interface to getLineNumber like we did forChris Lattner1-16/+23
2009-02-04make SM::getColumnNumber take a predecomposed FileID/offset, whichChris Lattner1-15/+19
2009-02-04build per-fid linetable entries.Chris Lattner1-12/+39
2009-02-03more plumbing for #line propagation. Use happy bit #3 Chris Lattner1-1/+21
2009-02-03stub out basic #line handling calls.Chris Lattner1-0/+9
2009-02-03reclaim my precious bit in FileInfo by ensuring that ContentCache objectsChris Lattner1-7/+12
2009-02-03switch SourceManager from using an std::map and std::list of Chris Lattner1-27/+42
2009-01-27Introduce a new PresumedLoc class to represent the concept of a locationChris Lattner1-8/+21
2009-01-27make -print-stats print stats about the amount of the SLoc Chris Lattner1-2/+3
2009-01-26now that everything properly handles multiply instantiatedChris Lattner1-8/+0
2009-01-26make getInstantiationLoc and getSpellingLoc handle multiply instantiatedChris Lattner1-0/+21
2009-01-26fix a negated conditional in getDecomposedInstantiationLocSlowCase,Chris Lattner1-7/+13
2009-01-26start plumbing together the line table information. So far we justChris Lattner1-0/+76
2009-01-26Lazily paging in file contents is a big win for PTH, strip out the oldChris Lattner1-20/+2
2009-01-26Check in the long promised SourceLocation rewrite. This lays theChris Lattner1-149/+226
2009-01-19remove the public SourceManager::getContentCacheForLoc method.Chris Lattner1-1/+4
2009-01-19SourceManager::getBufferData(SourceLocation) is dead, delete it.Chris Lattner1-8/+2
2009-01-19some minor cleanups to SourceManager, and eliminate the Chris Lattner1-1/+1
2009-01-17Rename SourceLocation::getFileID to getChunkID, because it returnsChris Lattner1-6/+6
2009-01-17this massive patch introduces a simple new abstraction: it makesChris Lattner1-26/+35
2009-01-17make "ContentCache::Buffer" mutable to avoid a const_cast.Chris Lattner1-3/+1
2009-01-16more SourceLocation lexicon change: instead of referring to theChris Lattner1-2/+2
2009-01-16rename "virtual location" of a macro to "instantiation location".Chris Lattner1-3/+3
2009-01-16Change some terminology in SourceLocation: instead of referring to Chris Lattner1-16/+16
2009-01-06SourceManager: Implement "lazy" creation of MemBuffers for source files.Ted Kremenek1-5/+22
2009-01-06Misc changes to SourceManager::ContentCache:Ted Kremenek1-8/+36