Depends on D103361
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good - couple of optional things.
| llvm/lib/Demangle/RustDemangle.cpp | ||
|---|---|---|
| 227 | Might be simpler to early return true here - skip the IsOpen variable - since this is the one place that can return true? (and return false at the end of the function) | |
| 566–579 | Could use another enum here for "LeaveOpen" to avoid the need to comment call sites? | |
Might be simpler to early return true here - skip the IsOpen variable - since this is the one place that can return true? (and return false at the end of the function)