[all-commits] [llvm/llvm-project] 891944: [mlir] Fix warning `missing base in copy ctor`

Javed Absar via All-commits all-commits at lists.llvm.org
Wed May 25 02:24:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8919447c71ab5940965fc2211c96f1f8b51d5da3
      https://github.com/llvm/llvm-project/commit/8919447c71ab5940965fc2211c96f1f8b51d5da3
  Author: Javed Absar <javeda at graphcore.ai>
  Date:   2022-05-25 (Wed, 25 May 2022)

  Changed paths:
    M mlir/test/lib/Pass/TestPassManager.cpp

  Log Message:
  -----------
  [mlir] Fix warning `missing base in copy ctor`

This suppresse annoying warning when building mlir.
```
 warning: base class ‘class mlir::PassWrapper<{anonymous}::TestStatisticPass,
  mlir::OperationPass<void> >’ should be explicitly initialized in the copy constructor [-Wextra]
```

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D126209




More information about the All-commits mailing list