Skip to content

Commit

Permalink
Use continue in a loop over negative conditions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel-Durov committed Sep 28, 2024
1 parent c1225df commit e5c2e43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/lib/YkIR/YkIRWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1745,8 +1745,9 @@ class YkIRWriter {
for (llvm::Function &F : M) {
// Skip cloned functions
if (!StringRef(F.getName()).startswith(YK_CLONE_PREFIX)) {
serialiseFunc(F);
continue;
}
serialiseFunc(F);
}

// num_constants:
Expand Down

0 comments on commit e5c2e43

Please sign in to comment.