[all-commits] [llvm/llvm-project] ffc3a0: [mlir:toy][NFC] Remove unnecessary trailing return...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon May 16 10:47:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffc3a0db003fa9e26b25e55011d83e3fbb5a7ac2
      https://github.com/llvm/llvm-project/commit/ffc3a0db003fa9e26b25e55011d83e3fbb5a7ac2
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2022-05-16 (Mon, 16 May 2022)

  Changed paths:
    M mlir/examples/toy/Ch1/include/toy/AST.h
    M mlir/examples/toy/Ch2/include/toy/AST.h
    M mlir/examples/toy/Ch3/include/toy/AST.h
    M mlir/examples/toy/Ch4/include/toy/AST.h
    M mlir/examples/toy/Ch5/include/toy/AST.h
    M mlir/examples/toy/Ch6/include/toy/AST.h
    M mlir/examples/toy/Ch7/include/toy/AST.h

  Log Message:
  -----------
  [mlir:toy][NFC] Remove unnecessary trailing return type

In this instance, the trailing return type does not improve readability
as it repeats what is returned in the same line.

Reviewed By: rriddle

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




More information about the All-commits mailing list