aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-02-25 08:47:59 +0100
committerJan Svoboda <jan_svoboda@apple.com>2021-02-25 08:53:58 +0100
commitd8a8e5d6240a1db809cd95106910358e69bbf299 (patch)
treebee663f4daf8bbab8bd796772a0b02bfe1ef553c /clang/lib/CodeGen/CodeGenAction.cpp
parent88e45f00c156170ed562bbacad3b2a21633c0f7a (diff)
downloadllvm-d8a8e5d6240a1db809cd95106910358e69bbf299.zip
llvm-d8a8e5d6240a1db809cd95106910358e69bbf299.tar.gz
llvm-d8a8e5d6240a1db809cd95106910358e69bbf299.tar.bz2
[clang][cli] Remove marshalling from Opt{In,Out}FFlag
We can now express all marshalling semantics in `Opt{In,Out}FFlag` via `BoolFOption`. This patch moves remaining `Opt{In,Out}FFlag` instances using marshalling to `BoolFOption` and removes marshalling capabilities from `Opt{In,Out}FFlag` entirely. This simplifies the decisions developers have to make when creating new boolean options: * For simple cc1 flag pairs, use `Bool{,F,G}Option`. * For cc1 flag pairs that require complex marshalling logic, use `Opt{In,Out}FFlag` and implement marshalling manually. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D97370
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions