Commit 962bf002 authored by Mehdi Amini's avatar Mehdi Amini
Browse files

Apply clang-tidy fixes for performance-unnecessary-value-param in IRAttributes.cpp (NFC)

parent b08960f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1032,7 +1032,7 @@ public:
  using PyConcreteAttribute::PyConcreteAttribute;

  static PyDenseResourceElementsAttribute
  getFromBuffer(py::buffer buffer, std::string name, PyType type,
  getFromBuffer(py::buffer buffer, const std::string &name, const PyType &type,
                std::optional<size_t> alignment, bool isMutable,
                DefaultingPyMlirContext contextWrapper) {
    if (!mlirTypeIsAShaped(type)) {