[PATCH] D73821: [yaml2obj] Add -D k=v to preprocess the input YAML

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 15:09:52 PST 2020


MaskRay updated this revision to Diff 242441.
MaskRay marked an inline comment as done.
MaskRay added a comment.

Simplify with `Buf.find_first_of`

(OT: StringRef::find_first_of is O(n * 256) but the method can be imroved.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73821/new/

https://reviews.llvm.org/D73821

Files:
  llvm/test/tools/yaml2obj/macro.yaml
  llvm/tools/yaml2obj/yaml2obj.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73821.242441.patch
Type: text/x-patch
Size: 4180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200204/7e9e58cc/attachment-0001.bin>


More information about the llvm-commits mailing list