'it' may get invalidated when recursing into optional groups. This revision refactors the inner loop to avoid the need to compare the iterator after invalidation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/tools/mlir-tblgen/OpFormatGen.cpp | ||
|---|---|---|
| 1436 | Refactoring and "functional" for is so often better :) | |
Refactoring and "functional" for is so often better :)