[PATCH] D51338: [llvm-ar] Support * as comment char in MIR scripts

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 12:41:00 PDT 2018


pcc added inline comments.


================
Comment at: tools/llvm-ar/llvm-ar.cpp:815
       Rest = Rest.drop_front().drop_back();
+    if (CommandStr.startswith(";") || CommandStr.startswith("*"))
+      continue;
----------------
What should happen if a line contains both a command and a comment?


Repository:
  rL LLVM

https://reviews.llvm.org/D51338





More information about the llvm-commits mailing list