Removed some of the warning supression needed for
the multi-arg macro logic by making number of arguments
the same everywhere. Also removes some verbose comments
and obvious TODOs.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/unittests/Dialect/SparseTensor/MergerTest.cpp | ||
---|---|---|
496 | Why not call this UNUSED instead? (ditto for the other macros below) |
mlir/unittests/Dialect/SparseTensor/MergerTest.cpp | ||
---|---|---|
496 | sgtm |
mlir/unittests/Dialect/SparseTensor/MergerTest.cpp | ||
---|---|---|
520 | Since the only place that uses the extra argument to FOREVERY_COMMON_{DISJ,CONJ}_BINOP is the definition of the macros FOREVERY_PAIR_OF_COMMON_{DISJ,CONJ}_DISJ_BINOP, I think it'd be a bit cleaner to do something like the following: define FOREVERY_COMMON_X_BINOP_EXTRA(TEST, EXTRA) ... define FOREVERY_COMMON_X_BINOP(TEST) \ FOREVERY_COMMON_X_BINOP_EXTRA(TEST, "") and then use the former for defining the other macros, and use the latter throughout the file. That way you don't need to explicitly pass the empty string every time |
Why not call this UNUSED instead? (ditto for the other macros below)