Skip to content

Commit d11b144

Browse files
committed
clang-format
1 parent c2e8f04 commit d11b144

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/lib/CodeGen/BackendUtil.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,8 @@ static void addSanitizers(const Triple &TargetTriple,
799799
// Is there a non-zero cutoff?
800800
static constexpr double SanitizerMaskCutoffsEps = 0.000000001f;
801801
for (unsigned int i = 0; i < SanitizerKind::SO_Count; ++i) {
802-
lowerAllowCheck |= (CodeGenOpts.SanitizeSkipHotCutoffs[i].value_or(0) > SanitizerMaskCutoffsEps);
802+
lowerAllowCheck |= (CodeGenOpts.SanitizeSkipHotCutoffs[i].value_or(0) >
803+
SanitizerMaskCutoffsEps);
803804
}
804805

805806
if (lowerAllowCheck) {
@@ -813,7 +814,8 @@ static void addSanitizers(const Triple &TargetTriple,
813814
// Opts.cutoffs: ints with range [0, 1000000]
814815
static_assert(static_cast<int>(SanitizerMaskCutoffsEps * 1000000) == 0);
815816
for (unsigned int i = 0; i < SanitizerKind::SO_Count; ++i) {
816-
Opts.cutoffs.push_back(CodeGenOpts.SanitizeSkipHotCutoffs[i].value_or(0) * 1000000);
817+
Opts.cutoffs.push_back(
818+
CodeGenOpts.SanitizeSkipHotCutoffs[i].value_or(0) * 1000000);
817819
}
818820

819821
MPM.addPass(createModuleToFunctionPassAdaptor(LowerAllowCheckPass(Opts)));

0 commit comments

Comments
 (0)