[PATCH] D85710: Code generation support for lvalue bit-field conditionals.
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 11 20:21:50 PDT 2020
rjmccall added a comment.
I always imagined that we'd implement this by just inverting the emission: emit the RHS of the assignment and then pass a callback down to a function that descended into conditional operators and called the callback when it hit a leaf. Having an LValue case that's an arbitrarily-nested conditional seems unfortunate.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85710/new/
https://reviews.llvm.org/D85710
More information about the cfe-commits
mailing list