Skip to content

Commit 3555969

Browse files
author
git apple-llvm automerger
committed
Merge commit '99fda1a09cf7' from llvm.org/main into next
2 parents 2cc4ce9 + 99fda1a commit 3555969

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

clang/include/clang/Basic/FileManager.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,6 @@ class FileManager : public RefCountedBase<FileManager> {
237237
FileEntryRef getVirtualFileRef(StringRef Filename, off_t Size,
238238
time_t ModificationTime);
239239

240-
LLVM_DEPRECATED("Functions returning FileEntry are deprecated.",
241-
"getVirtualFileRef()")
242-
const FileEntry *getVirtualFile(StringRef Filename, off_t Size,
243-
time_t ModificationTime);
244-
245240
/// Retrieve a FileEntry that bypasses VFE, which is expected to be a virtual
246241
/// file entry, to access the real file. The returned FileEntry will have
247242
/// the same filename as FE but a different identity and its own stat.

clang/lib/Basic/FileManager.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,6 @@ void FileManager::trackVFSUsage(bool Active) {
369369
});
370370
}
371371

372-
const FileEntry *FileManager::getVirtualFile(StringRef Filename, off_t Size,
373-
time_t ModificationTime) {
374-
return &getVirtualFileRef(Filename, Size, ModificationTime).getFileEntry();
375-
}
376-
377372
FileEntryRef FileManager::getVirtualFileRef(StringRef Filename, off_t Size,
378373
time_t ModificationTime) {
379374
++NumFileLookups;

0 commit comments

Comments
 (0)