[clang][Diagnostics] Simplify emitSnippet()
Don't try to minimize the times we invoke operator<< on the output stream by keeping a ToPrint string around. Instead, just print the characters as we iterate over them. Differential Revision: https://reviews.llvm.org/D151075
Loading
Please sign in to comment