Details
Details
Diff Detail
Diff Detail
Event Timeline
| tools/llvm-pdbutil/PrettyCompilandDumper.cpp | ||
|---|---|---|
| 226 | We try to make it look like actual C++ code. So with that in mind we should put a space between the two words and colorize them as C++ keywords. Can you write this as: WithColor(Printer, PDB_ColorItem::Keyword).get() << "using namespace "; | |
| tools/llvm-pdbutil/PrettyCompilandDumper.cpp | ||
|---|---|---|
| 228–229 | Also I think we can drop the if statement here and write this all on line line. WithColor(Printer, PDB_ColorItem::Identifier).get() << Symbol.getName(); If the string is empty it will just be a no-op, which is fine. | |
We try to make it look like actual C++ code. So with that in mind we should put a space between the two words and colorize them as C++ keywords. Can you write this as: