[all-commits] [llvm/llvm-project] d295dd: [MLIR] Add explicit `using` to disambiguate betwee...

long.chen via All-commits all-commits at lists.llvm.org
Thu Dec 30 11:47:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d295dd10f2d8fb91c2bc9af8f72f00cf2d24f0f8
      https://github.com/llvm/llvm-project/commit/d295dd10f2d8fb91c2bc9af8f72f00cf2d24f0f8
  Author: long.chen <lipracer at gmail.com>
  Date:   2021-12-30 (Thu, 30 Dec 2021)

  Changed paths:
    M mlir/include/mlir/IR/BuiltinAttributes.td

  Log Message:
  -----------
  [MLIR] Add explicit `using` to disambiguate between multiple implementations from base classes (NFC)

Both of DenseElementsAttr and ElementsAttrTrait define the method of
getElementType, this commit makes it available on
DenseIntOrFPElementsAttr and DenseStringElementsAttr.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list