[clang] 25a6b89 - [clang] NFC: Remove unused `FileEntry::getLastRef()` (#68156)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 3 13:37:44 PDT 2023
Author: Jan Svoboda
Date: 2023-10-03T13:37:39-07:00
New Revision: 25a6b891cbcd9aacee404cc0ccceed3248d93dd3
URL: https://github.com/llvm/llvm-project/commit/25a6b891cbcd9aacee404cc0ccceed3248d93dd3
DIFF: https://github.com/llvm/llvm-project/commit/25a6b891cbcd9aacee404cc0ccceed3248d93dd3.diff
LOG: [clang] NFC: Remove unused `FileEntry::getLastRef()` (#68156)
The last usage of the deprecated `FileEntry::getLastRef()` was removed
in #67838, let's remove it entirely.
Added:
Modified:
clang/include/clang/Basic/FileEntry.h
Removed:
################################################################################
diff --git a/clang/include/clang/Basic/FileEntry.h b/clang/include/clang/Basic/FileEntry.h
index c377aba2c1d2ebd..23237a9326f84b6 100644
--- a/clang/include/clang/Basic/FileEntry.h
+++ b/clang/include/clang/Basic/FileEntry.h
@@ -426,7 +426,6 @@ class FileEntry {
public:
~FileEntry();
StringRef getName() const { return LastRef->getName(); }
- FileEntryRef getLastRef() const { return *LastRef; }
StringRef tryGetRealPathName() const { return RealPathName; }
off_t getSize() const { return Size; }
More information about the cfe-commits
mailing list