[all-commits] [llvm/llvm-project] f88760: [TableGen] Remove unnecessary StringRef constructo...
Craig Topper via All-commits
all-commits at lists.llvm.org
Thu May 16 15:47:16 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f88760f3118a106be847a8d5296931a8e44c72f8
https://github.com/llvm/llvm-project/commit/f88760f3118a106be847a8d5296931a8e44c72f8
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths:
M llvm/include/llvm/TableGen/Record.h
Log Message:
-----------
[TableGen] Remove unnecessary StringRef constructor call from LessRecord(). NFC
Record::getName already returns a StringRef. When this code was
originally written getName returned const std::string &.
Commit: 2a4ee605b03bc69c296d0388239d9c837e787995
https://github.com/llvm/llvm-project/commit/2a4ee605b03bc69c296d0388239d9c837e787995
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths:
M llvm/lib/TableGen/Record.cpp
Log Message:
-----------
[TableGen] Use LessRecord() for the sort in getAllDerivedDefinitions instead of re-implementing it. NFC
Compare: https://github.com/llvm/llvm-project/compare/d6f9278ae9e5...2a4ee605b03b
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list