aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2025-09-18 14:53:40 -0700
committerGitHub <noreply@github.com>2025-09-18 14:53:40 -0700
commit152a2162a1a9c93358bb69ab839931d95b9537ad (patch)
tree287401779a7a607784aaa29c420d0c8ffeb682c8 /llvm/utils/FileCheck/FileCheck.cpp
parentcfaf23927c6b083646a431eb8eea2d286694c0a0 (diff)
downloadllvm-152a2162a1a9c93358bb69ab839931d95b9537ad.zip
llvm-152a2162a1a9c93358bb69ab839931d95b9537ad.tar.gz
llvm-152a2162a1a9c93358bb69ab839931d95b9537ad.tar.bz2
[llvm][clang] Pass VFS to `llvm::cl` command line handling (#159174)
This PR passes the VFS down to `llvm::cl` functions so that they don't assume the real file system.
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
-rw-r--r--llvm/utils/FileCheck/FileCheck.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/FileCheck/FileCheck.cpp b/llvm/utils/FileCheck/FileCheck.cpp
index 9cf3a31..185b6b3 100644
--- a/llvm/utils/FileCheck/FileCheck.cpp
+++ b/llvm/utils/FileCheck/FileCheck.cpp
@@ -735,7 +735,7 @@ int main(int argc, char **argv) {
InitLLVM X(argc, argv);
cl::ParseCommandLineOptions(argc, argv, /*Overview*/ "", /*Errs*/ nullptr,
- "FILECHECK_OPTS");
+ /*VFS*/ nullptr, "FILECHECK_OPTS");
// Select -dump-input* values. The -help documentation specifies the default
// value and which value to choose if an option is specified multiple times.