[all-commits] [llvm/llvm-project] 85dadf: [TableGen] Drop an unnecessary const from a return...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Jul 23 11:30:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85dadf6d8d5adcca3539ad33442d28710f166e42
      https://github.com/llvm/llvm-project/commit/85dadf6d8d5adcca3539ad33442d28710f166e42
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-07-23 (Sat, 23 Jul 2022)

  Changed paths:
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/JSONBackend.cpp

  Log Message:
  -----------
  [TableGen] Drop an unnecessary const from a return type (NFC)

This patch also drops "&" that binds to a temporary.

Identified with readability-const-return-type.




More information about the All-commits mailing list