aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2021-11-07 15:18:30 +0100
committerBenjamin Kramer <benny.kra@googlemail.com>2021-11-07 15:18:30 +0100
commit9b8b16457c23c52b1eeef600cb65a2d160041433 (patch)
tree8cfaa7c4710034dc89562697aa50cad53f041f99 /llvm/lib/Support/VirtualFileSystem.cpp
parent8adb6d6de29b67dd0df1016083392a1b2eb1d49a (diff)
downloadllvm-9b8b16457c23c52b1eeef600cb65a2d160041433.zip
llvm-9b8b16457c23c52b1eeef600cb65a2d160041433.tar.gz
llvm-9b8b16457c23c52b1eeef600cb65a2d160041433.tar.bz2
Put implementation details into anonymous namespaces. NFCI.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
-rw-r--r--llvm/lib/Support/VirtualFileSystem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/VirtualFileSystem.cpp b/llvm/lib/Support/VirtualFileSystem.cpp
index 433b071..c1adf57 100644
--- a/llvm/lib/Support/VirtualFileSystem.cpp
+++ b/llvm/lib/Support/VirtualFileSystem.cpp
@@ -1117,6 +1117,7 @@ public:
}
};
+namespace {
/// Directory iterator implementation for \c RedirectingFileSystem's
/// directory remap entries that maps the paths reported by the external
/// file system's directory iterator back to the virtual directory's path.
@@ -1155,6 +1156,7 @@ public:
return EC;
}
};
+} // namespace
llvm::ErrorOr<std::string>
RedirectingFileSystem::getCurrentWorkingDirectory() const {