aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner1-13/+13
2011-06-03My testing shows that function stat has no problem with trailing separators. ...Francois Pichet1-4/+0
2011-03-18Add FileManager::getNoncachedStatValue, which will resolve relative paths aga...Anders Carlsson1-0/+8
2011-03-16Having FileManager::getFile always open the file, brought much consternation ...Argyrios Kyrtzidis1-1/+6
2011-03-15Stop leaking file descriptors.Argyrios Kyrtzidis1-14/+16
2011-03-14Get rid of the static FileManager::FixupRelativePath.Anders Carlsson1-8/+4
2011-03-07Check in the implementation as well...Anders Carlsson1-3/+7
2011-03-06Convert FileManager::FixupRelativePath over to using PathV2.Anders Carlsson1-8/+10
2011-02-11Uses llvm::sys::path instead of hand-rolled algorithm in FileManager.Zhanyong Wan1-32/+11
2011-02-11Improves Clang's virtual file handling.Zhanyong Wan1-85/+146
2011-02-10Implement two related optimizations that make de-serialization ofDouglas Gregor1-0/+19
2011-02-08Update for API change.Rafael Espindola1-2/+2
2011-02-05Improve our uniquing of file entries when files are re-saved or areDouglas Gregor1-21/+36
2011-02-03Revert 124754 and 124760 as they made clang unusable in the presence of symbolicRafael Espindola1-84/+0
2011-02-03Improve the performance of filename canonicalization by avoidingDouglas Gregor1-1/+8
2011-02-02Canonicalize path names in the file manager before performing a lookupDouglas Gregor1-0/+77
2011-01-27TextDiagnosticPrinter.cpp: Show diagnostics as far as possible even with inva...Axel Naumann1-6/+10
2010-12-21Replace all uses of PathV1::makeAbsolute with PathV2::fs::make_absolute.Michael J. Spencer1-3/+4
2010-12-17Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}.Michael J. Spencer1-4/+5
2010-12-16MemoryBuffer API update.Michael J. Spencer1-19/+18
2010-12-09Use error_code instead of std::string* for MemoryBuffer.Michael J. Spencer1-8/+27
2010-12-02attempt to fix a buildbot failure, apparently apache fails to build.Chris Lattner1-1/+1
2010-11-29Merge System into Support.Michael J. Spencer1-1/+1
2010-11-23The final result of all this refactoring: instead of doing stat immediatelyChris Lattner1-3/+16
2010-11-23hopefully resolve the windows buildbot issue (retch)Chris Lattner1-0/+8
2010-11-23change the 'is directory' indicator to be a null-or-notChris Lattner1-14/+19
2010-11-23pull "is directory" handling into FileManager::getStatValueChris Lattner1-29/+36
2010-11-23tidy up code, add a comment about dir caching.Chris Lattner1-20/+16
2010-11-23factor the "cache miss" handling code out of FM into a static Chris Lattner1-21/+6
2010-11-23r120013 dropped passing in the precomputed file size to Chris Lattner1-2/+3
2010-11-23rework the stat cache, pulling it out of FileManager.h intoChris Lattner1-35/+39
2010-11-23tidy up. Split FileManager::getBufferForFile intoChris Lattner1-6/+14
2010-11-23now the FileManager has a FileSystemOpts ivar, stop threadingChris Lattner1-15/+8
2010-11-23give FileManager a 'FileSystemOptions' ivar, which will be usedChris Lattner1-7/+7
2010-11-23Partially revert Doug's PCH validation patch (r98585).Chris Lattner1-5/+3
2010-11-23stringref'ize APIChris Lattner1-18/+16
2010-11-23avoid creating sys::Path instances when -fworking-directory isn't being used.Chris Lattner1-1/+8
2010-11-21Filename.rfind("/\\") won't give us the position of the last directory sepera...Benjamin Kramer1-11/+11
2010-11-21change the various getFile routines to use StringRef as their implementation ...Chris Lattner1-37/+32
2010-11-03Implement -working-directory.Argyrios Kyrtzidis1-11/+49
2010-08-23fix PR7953 - Windows filename are case insensitive:Chris Lattner1-0/+4
2010-07-26When remapping a virtual file, also make an entry for the file withDouglas Gregor1-0/+12
2010-07-14Pass StringRefs by value.Benjamin Kramer1-2/+2
2009-12-18Removing trailing directory separator, to make stat workJohn Thompson1-0/+5
2009-12-11FileManager: Do not cache failed stats, it is easy to construct commonDaniel Dunbar1-10/+9
2009-12-02Extend -remap-file=from;to to permit mapping from a non-existentDouglas Gregor1-22/+73
2009-10-16Add support for a chain of stat caches in the FileManager, rather thanDouglas Gregor1-2/+37
2009-09-18don't stick an uninitialized 'stat' buf into the stat cache, fill itChris Lattner1-0/+1
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump1-29/+28
2009-09-05Replace some instances of std::string with StringRefs.Benjamin Kramer1-0/+3