diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2024-04-12 10:09:04 -0700 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2024-04-12 10:32:58 -0700 |
commit | edd7fed9da48c0e708cce9bd4d305ae43d8bd77c (patch) | |
tree | 5bfae6cf94943f2bf3584c36d2c10cceffd3cadc /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | fe59cb256289d9f2f6ebe75571389f3cc90bbdec (diff) | |
download | llvm-edd7fed9da48c0e708cce9bd4d305ae43d8bd77c.zip llvm-edd7fed9da48c0e708cce9bd4d305ae43d8bd77c.tar.gz llvm-edd7fed9da48c0e708cce9bd4d305ae43d8bd77c.tar.bz2 |
[llvm][vfs] NFCI: Remove `const` from `VFS::getRealPath()`
This is an NFC change split from https://github.com/llvm/llvm-project/pull/68645.
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
-rw-r--r-- | llvm/unittests/Support/VirtualFileSystemTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/VirtualFileSystemTest.cpp b/llvm/unittests/Support/VirtualFileSystemTest.cpp index 695b093..49a2e19 100644 --- a/llvm/unittests/Support/VirtualFileSystemTest.cpp +++ b/llvm/unittests/Support/VirtualFileSystemTest.cpp @@ -82,7 +82,7 @@ public: } // Map any symlink to "/symlink". std::error_code getRealPath(const Twine &Path, - SmallVectorImpl<char> &Output) const override { + SmallVectorImpl<char> &Output) override { auto I = findEntry(Path); if (I == FilesAndDirs.end()) return make_error_code(llvm::errc::no_such_file_or_directory); |