[PATCH] D83892: [clang][cli] Port CodeGen option flags to new option parsing system

Jan Svoboda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 09:19:09 PST 2020


jansvoboda11 added a comment.

@Bigcheese brought up that if you wanted to mimic the current logic in `OptInFFlag` that automatically creates the `-cc1` option with my current proposal, you'd need to remember to pass it to the right `Flags` (e.g.: use `NegativeFlag<[CC1Option]>` when using `InvertedByNegativeFlag`). My hope is that this could be handled automatically by a thin wrapper around `BoolOption`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83892



More information about the llvm-commits mailing list