Skip to content

Commit 47d2c6b

Browse files
committed
remove useless loop
1 parent 3111262 commit 47d2c6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/Utils/CFFunctionInstrumentation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ PreservedAnalyses
1010
CFFunctionInstrumentationPass::run(Module &M, ModuleAnalysisManager &AM) {
1111

1212
CFFunctionAnalysisInfo CalledFunctions = AM.getResult<CFFunctionAnalysis>(M);
13-
for (auto &F : CalledFunctions) {
14-
LLVM_DEBUG(dbgs() << "Called function: " << F << "\n");
15-
}
13+
LLVM_DEBUG(
14+
for (auto &F
15+
: CalledFunctions) { dbgs() << "Called function: " << F << "\n"; });
1616
int permissions_created = 0;
1717
Value *WritePermission = nullptr;
1818
Value *FileName = nullptr;

0 commit comments

Comments
 (0)