aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
AgeCommit message (Expand)AuthorFilesLines
2010-10-26getOrCreateContentCache never returns null, so overrideFileContentsDan Gohman1-4/+2
2010-10-23Update remaining attribute macros to new style.Chandler Carruth1-1/+1
2010-10-05Fix handling of the 'Invalid' argument in SourceManager's methods (patch by D...Zhanyong Wan1-5/+14
2010-08-26Fix a typo.Dan Gohman1-1/+1
2010-08-18More PCH -> AST renaming.Sebastian Redl1-1/+1
2010-07-28Add a test case for tentative definitions in chained PCH. Fix a bug that comp...Sebastian Redl1-1/+4
2010-07-26Introduce basic support for loading a precompiled preamble whileDouglas Gregor1-11/+14
2010-05-07clean up isBeforeInTranslationUnit by factoring out some commonChris Lattner1-24/+34
2010-05-07reimplement the guts of SourceManager::isBeforeInTranslationUnitChris Lattner1-53/+56
2010-05-07start using the caching now that it appears to work!Chris Lattner1-16/+4
2010-05-07reimplement the caching in the SourceManager::isBeforeInTranslationUnit()Chris Lattner1-20/+31
2010-05-06Workaround a really serious caching bug in SourceManager::isBeforeInTranslati...Ted Kremenek1-0/+5
2010-04-20change FullSourceLoc to have a *const* SourceManager&, eliminatingChris Lattner1-4/+1
2010-04-20push some source location information down through the compiler,Chris Lattner1-20/+32
2010-04-20enhance sourcemgr to detect various UTF BOM's and emit a fatal errorChris Lattner1-0/+35
2010-04-10Disable diag::err_file_modified on Win32 completely, until someone cares to fixDaniel Dunbar1-10/+12
2010-04-09On Windows, disable the modification-time check for files used inDouglas Gregor1-5/+11
2010-03-22Introduce the notion of a single "delayed" diagnostic into theDouglas Gregor1-3/+14
2010-03-21Keep track of the size/modification time of each file source-locationDouglas Gregor1-2/+1
2010-03-19Fix a longstanding (but previously unknown) bug in the lazyDouglas Gregor1-1/+1
2010-03-17Check the inode in addition to size and modification time to determineDouglas Gregor1-3/+5
2010-03-17Use a simple diagnostic (file modified) when we detect that a file hasDouglas Gregor1-10/+4
2010-03-16Teach SourceManager's content cache to keep track of whether itsDouglas Gregor1-21/+24
2010-03-16Audit all getBuffer() callers (for both the FullSourceLoc andDouglas Gregor1-7/+6
2010-03-16Let SourceManager::getBufferData return StringRef instead of a pair of two co...Benjamin Kramer1-5/+3
2010-03-16Introduce optional "Invalid" parameters to routines that invoke theDouglas Gregor1-25/+57
2010-03-16Use SourceManager's Diagnostic object for all file-reading errors,Douglas Gregor1-90/+33
2010-03-16Give SourceManager a Diagnostic object with which to report errors,Douglas Gregor1-13/+12
2010-03-15Add some <cstdio> includes to unbreak the buildbotsDouglas Gregor1-0/+1
2010-03-15Introduce a new BufferResult class to act as the return type ofDouglas Gregor1-11/+104
2010-03-10Fix -Wsign-compare warning reported by clang++.Ted Kremenek1-1/+2
2010-02-27Robustify SourceManager::getLocation(), so that it returns anDouglas Gregor1-14/+18
2010-02-12fix a bug in SourceManager::getInstantiationLocSlowCase, whereChris Lattner1-3/+7
2009-12-06Add a pretty horrible hack to prevent clang from crashing with inconsistent PCHDaniel Dunbar1-2/+18
2009-12-03Minor cleanup to the code-completion-point logic suggested by Chris.Douglas Gregor1-2/+1
2009-12-02Extend the source manager with the ability to override the contents ofDouglas Gregor1-78/+28
2009-12-02Eliminate the unnecessary FirstFID cache variable from the source manager's C...Douglas Gregor1-6/+27
2009-12-01In SourceManager::isBeforeInTranslationUnit, if we are trying to compare two ...Daniel Dunbar1-24/+14
2009-12-01pass the reason for failure up from MemoryBuffer and report itChris Lattner1-2/+2
2009-11-14Move DISABLE_INLINE to the front of the decl so MSVC can parse it. Patch by A...Benjamin Kramer1-2/+2
2009-11-03pr5371 likely has nothing to do with this.Chris Lattner1-1/+0
2009-11-02Add note to FIXME about PR5371.Edward O'Callaghan1-0/+1
2009-09-22Replace the -code-completion-dump option with Douglas Gregor1-2/+79
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump1-100/+100
2009-08-23API changes to match llvm ToT.Chris Lattner1-0/+1
2009-08-23Replace cerr with errs().Benjamin Kramer1-11/+9
2009-06-25Fix column checking for SourceManager::getLocation().Argyrios Kyrtzidis1-1/+1
2009-06-23Fix warning when building w/o asserts.Daniel Dunbar1-0/+1
2009-06-23Introduce SourceManager::ísBeforeInTranslationUnit() which can compare 2 sou...Argyrios Kyrtzidis1-0/+100
2009-06-23In SourceManager::createFileID missed setting ContentCache's FirstFID in anot...Argyrios Kyrtzidis1-1/+4