Rename parameters and local variables and reorder things a bit to be closer to their first point of use.
This doesn't change anything else.
Details
Details
- Reviewers
aaron.ballman - Commits
- rGb7e5cb1f9a3a: [clang][NFC] Refactor emitSnippet()
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Side-note: The ToPrint stuff here is just useful to "cache" the output string, isn't it? Is that really useful? I'd expect the output stream to be cached anyway?
Comment Actions
Yeah, that does seem like a kind of caching operation, I'm not certain what it's purpose is though.
LGTM!