Skip to content

Commit

Permalink
[CodeGen][NFC] Make an opt<> static
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Apr 2, 2024
1 parent b4adb42 commit 633bc3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/lib/CodeGen/BackendUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ using namespace llvm;
namespace llvm {
extern cl::opt<bool> PrintPipelinePasses;

cl::opt<bool> ClRemoveTraps("clang-remove-traps", cl::Optional,
cl::desc("Insert remove-traps pass."));
static cl::opt<bool> ClRemoveTraps("clang-remove-traps", cl::Optional,
cl::desc("Insert remove-traps pass."));

// Experiment to move sanitizers earlier.
static cl::opt<bool> ClSanitizeOnOptimizerEarlyEP(
Expand Down

0 comments on commit 633bc3b

Please sign in to comment.