If this were C++17, we would just use a [[maybe_unused]] annotation. I'm not sure what the best way to do this without such a thing.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
If this were C++17, we would just use a [[maybe_unused]] annotation. I'm not sure what the best way to do this without such a thing.
There is LLVM_ATTRIBUTE_UNUSED: https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/Support/Compiler.h#L180