aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorAndy Kaylor <akaylor@nvidia.com>2025-10-17 13:34:15 -0700
committerGitHub <noreply@github.com>2025-10-17 13:34:15 -0700
commite101afc595d9cf7bd006ff610cbbf815f2a2ad05 (patch)
tree19778e8495fb9bd6509c1890ddaaab7ea84226d5 /llvm/lib/Support/SourceMgr.cpp
parent9324afbac2082c95ca2a11e4f45b1748e6e103b5 (diff)
downloadllvm-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/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions