diff options
| author | Andy Kaylor <akaylor@nvidia.com> | 2025-10-17 13:34:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-17 13:34:15 -0700 |
| commit | e101afc595d9cf7bd006ff610cbbf815f2a2ad05 (patch) | |
| tree | 19778e8495fb9bd6509c1890ddaaab7ea84226d5 /llvm/lib/Target/CSKY/Disassembler/CSKYDisassembler.cpp | |
| parent | 9324afbac2082c95ca2a11e4f45b1748e6e103b5 (diff) | |
| download | llvm-e101afc595d9cf7bd006ff610cbbf815f2a2ad05.zip llvm-e101afc595d9cf7bd006ff610cbbf815f2a2ad05.tar.gz llvm-e101afc595d9cf7bd006ff610cbbf815f2a2ad05.tar.bz2 | |
[CIR][NFC] Fix maybe_unused build issues (#163997)
This fixes a build failure that occurs with some versions of clang.
There was a problem in clang, which has been fixed in more recent
versions, where mixing GNU-style attributes with C++-style attributes
caused a failure. A recent code change updated a few uses of
`LLVM_ATTRIBUTE_UNUSED` to `[[maybe_unused]]`, triggering this problem.
This change reorders the attributes in a way that avoids the issue.
Diffstat (limited to 'llvm/lib/Target/CSKY/Disassembler/CSKYDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions
