aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileManager.cpp
AgeCommit message (Expand)AuthorFilesLines
2020-11-30FileManager: Add FileEntryRef::getDir, returning DirectoryEntryRefDuncan P. N. Exon Smith1-19/+23
2020-11-30Serialization: Change InputFile to use FileEntryRef and add getVirtualFileRef...Duncan P. N. Exon Smith1-11/+13
2020-10-27Unbreak build with gcc5.3 after 917acacNico Weber1-2/+4
2020-10-27FileManager: Shrink FileEntryRef to the size of a pointerDuncan P. N. Exon Smith1-44/+62
2020-04-15[Clang] Expose RequiresNullTerminator in FileManager.Michael Spencer1-10/+12
2020-02-18[NFC] Remove trailing spaceJim Lin1-1/+1
2020-01-28Make llvm::StringRef to std::string conversions explicit.Benjamin Kramer1-1/+1
2019-12-20[clang] Fix the canonicalization of paths in -fdiagnostics-absolute-pathsKarl-Johan Karlsson1-5/+20
2019-11-08Basic: fix FileManager invalidation issue for file redirectAlex Suhan1-7/+11
2019-10-11[Stats] Convert some ad-hoc header search stats to ALWAYS_ENABLED_STATISTIC.Volodymyr Sapsai1-4/+10
2019-08-31Introduce a DirectoryEntryRef that stores both a reference and anAlex Lorenz1-14/+17
2019-08-30ASTReader: Bypass overridden files when reading PCHsDuncan P. N. Exon Smith1-6/+19
2019-08-30FileManager: Remove ShouldCloseOpenFile argument from getBufferForFile, NFCDuncan P. N. Exon Smith1-6/+2
2019-08-29Remove `FileManager::invalidateCache` as it has no callers anymore. NFC.Volodymyr Sapsai1-14/+0
2019-08-26FileManager: Use llvm::Expected in new getFileRef APIDuncan P. N. Exon Smith1-5/+6
2019-08-26Fix use of invalidated iterator introduced by r369680.Richard Smith1-4/+4
2019-08-25FileManager: Factor duplicated code in getBufferForFile, NFCDuncan P. N. Exon Smith1-11/+6
2019-08-22Introduce FileEntryRef and use it when handling includes to report correct de...Alex Lorenz1-15/+46
2019-08-21clang: Fix typo in commentNico Weber1-1/+1
2019-08-14[Clang] Migrate llvm::make_unique to std::make_uniqueJonas Devlieghere1-2/+2
2019-08-01[clang] Adopt llvm::ErrorOr in FileManager methodsHarlan Haskins1-52/+76
2019-04-16[FileSystemStatCache] Return std::error_code from stat cache methodsHarlan Haskins1-3/+4
2019-03-05Replace clang::FileData with llvm::vfs::StatusHarlan Haskins1-26/+29
2019-02-18Reland "[clang][FileManager] fillRealPathName even if we aren't opening the f...Jan Korous1-0/+3
2019-02-15Revert r354075 "[clang][FileManager] fillRealPathName even if we aren't openi...Reid Kleckner1-3/+0
2019-02-14[clang][FileManager] fillRealPathName even if we aren't opening the fileJan Korous1-0/+3
2019-01-30Simplify and modernize this code a little.Richard Smith1-55/+30
2019-01-24[FileManager] Revert r347205 to avoid PCH file-descriptor leak.Sam McCall1-24/+11
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-12-21Remove stat cache chaining as it's no longer needed after PTH support has beenAlex Lorenz1-35/+3
2018-11-30[clang] Fill RealPathName for virtual files.Kadir Cetinkaya1-10/+14
2018-11-19[FileManager] getFile(open=true) after getFile(open=false) should open the file.Sam McCall1-19/+32
2018-10-10Lift VFS from clang to llvm (NFC)Jonas Devlieghere1-6/+6
2018-08-24Fix build bot after r340598.Eric Liu1-8/+12
2018-08-24[FileManager] Do not call 'real_path' in getFile().Eric Liu1-4/+8
2018-08-06[VirtualFileSystem] InMemoryFileSystem::status: Return a Status with the requ...Simon Marchi1-3/+5
2018-07-30Remove trailing spaceFangrui Song1-8/+8
2018-07-26Revert r338057 "[VirtualFileSystem] InMemoryFileSystem::status: Return a Stat...Reid Kleckner1-5/+3
2018-07-26[VirtualFileSystem] InMemoryFileSystem::status: Return a Status with the requ...Simon Marchi1-3/+5
2018-07-24Revert "[VFS] Cleanups to VFS interfaces."Jordan Rupprecht1-1/+1
2018-07-24[VFS] Cleanups to VFS interfaces.Sam McCall1-1/+1
2018-07-11Revert "[VirtualFileSystem] InMemoryFileSystem::status: Return a Status with ...Eric Liu1-5/+3
2018-07-11[VirtualFileSystem] InMemoryFileSystem::status: Return a Status with the requ...Simon Marchi1-3/+5
2018-06-06[Frontend] Honor UserFilesAreVolatile flag getting file buffer in ASTUnitIvan Donchevskii1-3/+3
2018-05-17Add vfs::FileSystem::getRealPathEric Liu1-16/+2
2018-05-09Remove \brief commands from doxygen comments.Adrian Prantl1-1/+1
2018-04-27Revert r329698 (and r329702).Nico Weber1-2/+16
2018-04-27s/LLVM_ON_WIN32/_WIN32/, clangNico Weber1-1/+1
2018-04-10Attempt to fix Windows build after r329698.Nico Weber1-1/+1
2018-04-10Use llvm::sys::fs::real_path() in clang.Nico Weber1-16/+2