Files
clang-p2996/clang/lib/CodeGen/Targets/LoongArch.cpp
Lu Weining 4253fdc2c4 [LoongArch] Fix ABI mismatch with g++ when handling empty unions (#71025)
In g++, empty unions are not ignored like empty structs when flattening
structs to examine whether the structs can be passed via FARs in C++.
This patch aligns clang++ with g++.

Fix https://github.com/llvm/llvm-project/issues/70890.
2023-11-04 10:04:37 +08:00

18 KiB