[PATCH] D83071: Add support for options with two flags for controlling the same field.

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 2 12:25:25 PDT 2020


dang created this revision.
dang added a reviewer: Bigcheese.
Herald added subscribers: llvm-commits, cfe-commits, dexonsmith.
Herald added projects: clang, LLVM.

This enables automatically parsing and generating CC1 arguments for options where two flags control the same field, e.g. -fexperimental-new-pass-manager and -fno-experimental new pass manager.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83071

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Frontend/CompilerInvocation.cpp
  llvm/include/llvm/Option/OptParser.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83071.275188.patch
Type: text/x-patch
Size: 8355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200702/3ee0c85a/attachment.bin>


More information about the cfe-commits mailing list