[Mlir-commits] [mlir] [mlir] Add support for DIGlobalVariable and DIGlobalVariableExpression (PR #73367)
Tom Eccles
llvmlistbot at llvm.org
Mon Dec 4 09:19:39 PST 2023
tblah wrote:
I think this patch broke builds with clang and `-Werror`
```
In file included from /home/tomecl01/llvm-project/mlir/lib/Dialect/LLVMIR/IR/LLVMAttrs.cpp:39:
tools/mlir/include/mlir/Dialect/LLVMIR/LLVMOpsAttrDefs.cpp.inc:2738:5: error: ignoring return value of function declared with 'nodiscard' attribute [-Werror,-Wunused-result]
2738 | printExpressionArg(odsPrinter,
| ^~~~~~~~~~~~~ ~~~~~~~
2739 | getOpcode(),
| ~~~~~~~~~
2740 | getArguments());
| ~~~~~~~~~~~
1 error generated.
```
Please let me know if you won't have time to fix this, in which case I'll do something.
https://github.com/llvm/llvm-project/pull/73367
More information about the Mlir-commits
mailing list