Skip to content

Commit

Permalink
[llvm][NFC] Document cl::opt variable and fix typo (#86608)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovepi committed Apr 2, 2024
1 parent c3fe1be commit d3ae2f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/lib/Transforms/Utils/MisExpect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ static cl::opt<bool> PGOWarnMisExpect(
cl::desc("Use this option to turn on/off "
"warnings about incorrect usage of llvm.expect intrinsics."));

// Command line option for setting the diagnostic tolerance threshold
static cl::opt<uint32_t> MisExpectTolerance(
"misexpect-tolerance", cl::init(0),
cl::desc("Prevents emiting diagnostics when profile counts are "
cl::desc("Prevents emitting diagnostics when profile counts are "
"within N% of the threshold.."));

} // namespace llvm
Expand Down

0 comments on commit d3ae2f6

Please sign in to comment.