diff options
author | Kazu Hirata <kazu@google.com> | 2021-09-06 09:10:07 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2021-09-06 09:10:07 -0700 |
commit | 3322354bfcae4ce03675f7597e68d99243d63f69 (patch) | |
tree | 2863e23e99b81e50648f76df16f91a024cf70eb7 /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 8883db90d1abbf9b7855ebaf829b75d7fee99da6 (diff) | |
download | llvm-3322354bfcae4ce03675f7597e68d99243d63f69.zip llvm-3322354bfcae4ce03675f7597e68d99243d63f69.tar.gz llvm-3322354bfcae4ce03675f7597e68d99243d63f69.tar.bz2 |
[Support] Qualify auto (NFC)
Identified with readability-qualified-auto.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
-rw-r--r-- | llvm/lib/Support/VirtualFileSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/VirtualFileSystem.cpp b/llvm/lib/Support/VirtualFileSystem.cpp index 15bb54e..ac54ff8 100644 --- a/llvm/lib/Support/VirtualFileSystem.cpp +++ b/llvm/lib/Support/VirtualFileSystem.cpp @@ -442,7 +442,7 @@ std::error_code OverlayFileSystem::isLocal(const Twine &Path, bool &Result) { std::error_code OverlayFileSystem::getRealPath(const Twine &Path, SmallVectorImpl<char> &Output) const { - for (auto &FS : FSList) + for (const auto &FS : FSList) if (FS->exists(Path)) return FS->getRealPath(Path, Output); return errc::no_such_file_or_directory; |