[TableGen] Don't capture returned std::vectors by const reference.
authorCraig Topper <craig.topper@intel.com>
Fri, 23 Mar 2018 00:02:45 +0000 (00:02 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 23 Mar 2018 00:02:45 +0000 (00:02 +0000)
commit37eeb32046d27f78d5ef52f02b81dfd295281fff
treee54070478c87d39442cd3697a6c16895092b9cac
parentd3cf76ba25446fc3e76a8540d97b775fbe7c9fb0
[TableGen] Don't capture returned std::vectors by const reference.

The full vector is being returned not a reference. So the reference was just a to a temporary.

llvm-svn: 328275
llvm/utils/TableGen/SubtargetEmitter.cpp