diff options
author | chrisPyr <32153107+chrisPyr@users.noreply.github.com> | 2025-03-03 14:46:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-03 13:46:33 +0700 |
commit | 71f4c7dabec0f32b2d475e8e08f0da99628a067c (patch) | |
tree | 855a0b24f32551f0a9de9f1404826adbac111fb5 /llvm/tools/llvm-diff/llvm-diff.cpp | |
parent | 1b043c25573aa0b13ad4241c641c38ca26f26bc1 (diff) | |
download | llvm-71f4c7dabec0f32b2d475e8e08f0da99628a067c.zip llvm-71f4c7dabec0f32b2d475e8e08f0da99628a067c.tar.gz llvm-71f4c7dabec0f32b2d475e8e08f0da99628a067c.tar.bz2 |
[NFC]Make file-local cl::opt global variables static (#126486)
#125983
Diffstat (limited to 'llvm/tools/llvm-diff/llvm-diff.cpp')
-rw-r--r-- | llvm/tools/llvm-diff/llvm-diff.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-diff/llvm-diff.cpp b/llvm/tools/llvm-diff/llvm-diff.cpp index 3e77b1e..2126b91 100644 --- a/llvm/tools/llvm-diff/llvm-diff.cpp +++ b/llvm/tools/llvm-diff/llvm-diff.cpp @@ -56,7 +56,7 @@ static void diffGlobal(DifferenceEngine &Engine, Module &L, Module &R, errs() << "No function named @" << Name << " in right module\n"; } -cl::OptionCategory DiffCategory("Diff Options"); +static cl::OptionCategory DiffCategory("Diff Options"); static cl::opt<std::string> LeftFilename(cl::Positional, cl::desc("<first file>"), cl::Required, |