4 Commits

Author SHA1 Message Date
Sameer Sahasrabuddhe
cd50f910f4 [Clang][NFC] Prevent lit tests from matching substrings in current path 2022-12-13 11:18:39 +05:30
Nikita Popov
c9e9a7f2fd Revert "[Clang][NFC] Prevent lit tests from matching substrings in current path"
This reverts commit bb48aa20e761e26226c6f909a07246781d68ba41.

Using placeholders inside CHECK-LABEL is not legal.
2022-12-12 14:44:10 +01:00
Sameer Sahasrabuddhe
bb48aa20e7 [Clang][NFC] Prevent lit tests from matching substrings in current path 2022-12-12 16:32:58 +05:30
Erich Keane
6f20744b7f Add support for ignored bitfield conditional codegen.
Currently we emit an error in just about every case of conditionals
with a 'non simple' branch if treated as an LValue.  This patch adds
support for the special case where this is an 'ignored' lvalue, which
permits the side effects from happening.

It also splits up the emit for conditional LValue in a way that should
be usable to handle simple assignment expressions in similar situations.

Differential Revision: https://reviews.llvm.org/D123680
2022-04-13 10:33:55 -07:00