Commit be03b14d authored by Mehdi Amini's avatar Mehdi Amini
Browse files

Apply clang-tidy fixes for llvm-else-after-return in IRCore.cpp (NFC)

parent 962bf002
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -981,7 +981,6 @@ MlirDialect PyDialects::getDialectForKey(const std::string &key,
    std::string msg = (Twine("Dialect '") + key + "' not found").str();
    if (attrError)
      throw py::attribute_error(msg);
    else
    throw py::index_error(msg);
  }
  return dialect;