"git@repo.hca.bsc.es:rferrer/llvm-epi.git" did not exist on "ade05a37f109bd894342396c00cb44d588d34b9d"
[clang-format] PR50525 doesn't handle AlignConsecutiveAssignments correctly in some situations
https://bugs.llvm.org/show_bug.cgi?id=50525 AlignConsecutiveAssignments/Declarations cause incorrect alignment in the presence of a DesignatedInitializerPeriod (https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html) ``` static NTSTATUS stg(PLW_STREAM Stream, int identity) { NTSTATUS status; BYTE payload[256] = {'l', 'h', 'o', 't', 's', 'e'}; struct dm_rpc_header header = {.drh_magic = DRH_MAGIC, .drh_op_code = RPC_OP_ECHO, .drh_payload_size = sizeof(payload), .drh_body_size = sizeof(payload), .drh_request_id = 1}; header.drh_version = identity; ``` This fix addresses that by ensuring the period isn't ignored Reviewed By: HazardyKnusperkeks Differential Revision: https://reviews.llvm.org/D104900
Loading
Please register or sign in to comment