[PATCH] Improve llvm-mc disassembly mode for testing
Joey Gouly
joey.gouly at arm.com
Fri Jul 19 02:50:46 PDT 2013
LGTM.
Thanks for working on this!
================
Comment at: tools/llvm-mc/Disassembler.cpp:99
@@ -96,1 +98,3 @@
+ while (!Str.empty() && Str.find_first_not_of(" \t\r\n#,") != 0) {
// Strip horizontal whitespace.
+ if (size_t Pos = Str.find_first_not_of(" \t\r,")) {
----------------
.. and commas, if you want to be pedantic.
http://llvm-reviews.chandlerc.com/D1177
More information about the llvm-commits
mailing list