[all-commits] [llvm/llvm-project] bd343d: [TableGen] Return const std::string& in InstrMap g...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Dec 17 07:27:49 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bd343d26814640b4934fdde8637ad5577d30c83c
https://github.com/llvm/llvm-project/commit/bd343d26814640b4934fdde8637ad5577d30c83c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-12-17 (Thu, 17 Dec 2020)
Changed paths:
M llvm/utils/TableGen/CodeGenMapTable.cpp
Log Message:
-----------
[TableGen] Return const std::string& in InstrMap getName()/getFilterClass() methods. NFCI.
Avoid temp std::string instances - we're never keeping these around, just printing them to streams, converting to StringRef etc.
More information about the All-commits
mailing list