diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2025-03-13 02:07:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 08:07:07 +0700 |
commit | 44ff94e99e0380d520d7e9803100044867ab08db (patch) | |
tree | 16dfa9de886f5625bd44b61bfdd90abde90070e8 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | cb73271be12a40c7d885813733e11fd90eb3ed10 (diff) | |
download | llvm-44ff94e99e0380d520d7e9803100044867ab08db.zip llvm-44ff94e99e0380d520d7e9803100044867ab08db.tar.gz llvm-44ff94e99e0380d520d7e9803100044867ab08db.tar.bz2 |
[Diagnostics] Return rvalue reference from temporary argument (#127400)
This fixes compilation issues with GCC and C++23:
```
error: cannot bind non-const lvalue reference of type
'llvm::OptimizationRemarkMissed&' to an rvalue of type
'llvm::OptimizationRemarkMissed'
```
Closes #105778
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions