Skip to content

Commit 428d2ec

Browse files
committed
Fix clang format
1 parent b31279d commit 428d2ec

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

llvm/lib/Transforms/Instrumentation/RealtimeSanitizer.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ PreservedAnalyses RealtimeSanitizerPass::run(Function &F,
7474
const LoopInfo &LI = AM.getResult<LoopAnalysis>(F);
7575
ScalarEvolution &SE = AM.getResult<ScalarEvolutionAnalysis>(F);
7676
for (Loop *L : LI) {
77-
BasicBlock *Context =
78-
L->getLoopPreheader() ? L->getLoopPreheader() : L->getHeader();
79-
assert(Context && "Loop has no preheader or header block");
77+
BasicBlock *Context =
78+
L->getLoopPreheader() ? L->getLoopPreheader() : L->getHeader();
79+
assert(Context && "Loop has no preheader or header block");
8080

8181
const bool HasNoExits = L->hasNoExitBlocks();
8282
const bool CannotPredictLoopCount =
@@ -87,9 +87,8 @@ PreservedAnalyses RealtimeSanitizerPass::run(Function &F,
8787
if (LoopIsPotentiallyUnbound) {
8888
IRBuilder<> Builder{&Context->back()};
8989

90-
91-
std::string ReasonStr =
92-
demangle(F.getName().str()) + " contains a possibly unbounded loop ";
90+
std::string ReasonStr =
91+
demangle(F.getName().str()) + " contains a possibly unbounded loop ";
9392

9493
if (HasNoExits)
9594
ReasonStr += "(reason: no exit blocks).";

0 commit comments

Comments
 (0)