[TableGen] Drop an unnecessary const from a return type (NFC)
authorKazu Hirata <kazu@google.com>
Sat, 23 Jul 2022 18:30:23 +0000 (11:30 -0700)
committerKazu Hirata <kazu@google.com>
Sat, 23 Jul 2022 18:30:23 +0000 (11:30 -0700)
commit85dadf6d8d5adcca3539ad33442d28710f166e42
tree8a1100d8c1a585d85b7d4c2bb357badcc2dae829
parent71cdb8c6f144b8f78fed1f39dc6b9c153f9023c1
[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.
llvm/include/llvm/TableGen/Record.h
llvm/lib/TableGen/JSONBackend.cpp