From: Craig Topper Date: Thu, 1 Jun 2017 06:56:11 +0000 (+0000) Subject: [TableGen] Use StringRef to capture getValueAsString in a couple more places. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14e210f062367ec202c03e6a3795a667e23ecdb1;p=llvm [TableGen] Use StringRef to capture getValueAsString in a couple more places. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304386 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/CodeGenRegisters.h b/utils/TableGen/CodeGenRegisters.h index 9366838c77c..1fcba8a135d 100644 --- a/utils/TableGen/CodeGenRegisters.h +++ b/utils/TableGen/CodeGenRegisters.h @@ -308,13 +308,13 @@ namespace llvm { public: unsigned EnumValue; - std::string Namespace; + StringRef Namespace; SmallVector VTs; unsigned SpillSize; unsigned SpillAlignment; int CopyCost; bool Allocatable; - std::string AltOrderSelect; + StringRef AltOrderSelect; uint8_t AllocationPriority; /// Contains the combination of the lane masks of all subregisters. LaneBitmask LaneMask;