Apply clang-tidy fixes for modernize-use-equals-default to MLIR (NFC)
This commit is contained in:
parent
f829d62c21
commit
abb336d26b
|
@ -27,7 +27,7 @@ struct BlockInfoBuilder {
|
|||
using ValueSetT = Liveness::ValueSetT;
|
||||
|
||||
/// Constructs an empty block builder.
|
||||
BlockInfoBuilder() {}
|
||||
BlockInfoBuilder() = default;
|
||||
|
||||
/// Fills the block builder with initial liveness information.
|
||||
BlockInfoBuilder(Block *block) : block(block) {
|
||||
|
|
|
@ -36,8 +36,7 @@ struct LinalgComprehensiveModuleBufferize
|
|||
LinalgComprehensiveModuleBufferize() = default;
|
||||
|
||||
LinalgComprehensiveModuleBufferize(
|
||||
const LinalgComprehensiveModuleBufferize &p)
|
||||
: LinalgComprehensiveModuleBufferizeBase(p) {}
|
||||
const LinalgComprehensiveModuleBufferize &p) = default;
|
||||
|
||||
void runOnOperation() override;
|
||||
|
||||
|
|
|
@ -33,8 +33,7 @@ namespace {
|
|||
struct SparsificationPass : public SparsificationBase<SparsificationPass> {
|
||||
|
||||
SparsificationPass() = default;
|
||||
SparsificationPass(const SparsificationPass &pass)
|
||||
: SparsificationBase<SparsificationPass>(pass) {}
|
||||
SparsificationPass(const SparsificationPass &pass) = default;
|
||||
|
||||
/// Returns parallelization strategy given on command line.
|
||||
SparseParallelizationStrategy parallelOption() {
|
||||
|
|
|
@ -508,7 +508,7 @@ namespace {
|
|||
/// This struct represents the possible data entries in a parsed pass pipeline
|
||||
/// list.
|
||||
struct PassArgData {
|
||||
PassArgData() {}
|
||||
PassArgData() = default;
|
||||
PassArgData(const PassRegistryEntry *registryEntry)
|
||||
: registryEntry(registryEntry) {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue