Skip to content

Commit 0d045a5

Browse files
authored
Update BackendUtil.cpp
1 parent dcac742 commit 0d045a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CodeGen/BackendUtil.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,8 +797,7 @@ static void addSanitizers(const Triple &TargetTriple,
797797

798798
// SanitizeSkipHotCutoffs: doubles with range [0, 1]
799799
// Opts.cutoffs: ints with range [0, 1000000]
800-
std::optional<std::vector<int>> ScaledCutoffs =
801-
CodeGenOpts.SanitizeSkipHotCutoffs.getAllScaled(1000000);
800+
auto ScaledCutoffs = CodeGenOpts.SanitizeSkipHotCutoffs.getAllScaled(1000000);
802801

803802
// TODO: remove IsRequested()
804803
if (LowerAllowCheckPass::IsRequested() || ScaledCutoffs.has_value()) {

0 commit comments

Comments
 (0)