[PATCH] D152286: [Option] Support special argument "--"

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 10:01:57 PDT 2023


MaskRay updated this revision to Diff 528916.
MaskRay added a comment.

remove untested `DashDash` from Opts.td. It would make `--` without DashDashParsing mode an option.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152286

Files:
  llvm/include/llvm/Option/OptTable.h
  llvm/lib/Option/OptTable.cpp
  llvm/test/tools/llvm-strings/dash-filename.test
  llvm/tools/llvm-strings/llvm-strings.cpp
  llvm/unittests/Option/OptionParsingTest.cpp
  llvm/unittests/Option/Opts.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152286.528916.patch
Type: text/x-patch
Size: 3902 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230606/3878c077/attachment-0001.bin>


More information about the llvm-commits mailing list