[PATCH] D92773: [clang][cli] Unify boolean marshalling

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 7 09:59:13 PST 2020


jansvoboda11 created this revision.
jansvoboda11 added reviewers: dexonsmith, Bigcheese.
Herald added a subscriber: dang.
jansvoboda11 requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

Use lambdas with captures to replace the redundant infrastructure for marshalling of two boolean flags that control the same keypath.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92773

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92773.309943.patch
Type: text/x-patch
Size: 13173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201207/06781f52/attachment.bin>


More information about the cfe-commits mailing list