aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileCollector.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2024-04-12 10:09:04 -0700
committerJan Svoboda <jan_svoboda@apple.com>2024-04-12 10:32:58 -0700
commitedd7fed9da48c0e708cce9bd4d305ae43d8bd77c (patch)
tree5bfae6cf94943f2bf3584c36d2c10cceffd3cadc /llvm/lib/Support/FileCollector.cpp
parentfe59cb256289d9f2f6ebe75571389f3cc90bbdec (diff)
downloadllvm-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/lib/Support/FileCollector.cpp')
-rw-r--r--llvm/lib/Support/FileCollector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/FileCollector.cpp b/llvm/lib/Support/FileCollector.cpp
index 92bcdf0..be0b06b 100644
--- a/llvm/lib/Support/FileCollector.cpp
+++ b/llvm/lib/Support/FileCollector.cpp
@@ -281,7 +281,7 @@ public:
}
std::error_code getRealPath(const Twine &Path,
- SmallVectorImpl<char> &Output) const override {
+ SmallVectorImpl<char> &Output) override {
auto EC = FS->getRealPath(Path, Output);
if (!EC) {
Collector->addFile(Path);