summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenInstruction.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-07-07 06:22:35 +0000
committerCraig Topper <craig.topper@intel.com>2017-07-07 06:22:35 +0000
commit86a9aee88f07c01c82d15af67ce41806493ebcba (patch)
tree4607ac50a54dcd6d91102023ad8538b41071cde6 /llvm/utils/TableGen/CodeGenInstruction.h
parent3d0463ff821ba42a46f5d7d186c7a6f8cccfeafa (diff)
downloadbcm5719-llvm-86a9aee88f07c01c82d15af67ce41806493ebcba.tar.gz
bcm5719-llvm-86a9aee88f07c01c82d15af67ce41806493ebcba.zip
[TableGen] Use StringRef instead of std::string for CodeGenInstruction namespace. NFC
llvm-svn: 307362
Diffstat (limited to 'llvm/utils/TableGen/CodeGenInstruction.h')
-rw-r--r--llvm/utils/TableGen/CodeGenInstruction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.h b/llvm/utils/TableGen/CodeGenInstruction.h
index 75db17b59ac..e173e153879 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.h
+++ b/llvm/utils/TableGen/CodeGenInstruction.h
@@ -206,7 +206,7 @@ template <typename T> class ArrayRef;
class CodeGenInstruction {
public:
Record *TheDef; // The actual record defining this instruction.
- std::string Namespace; // The namespace the instruction is in.
+ StringRef Namespace; // The namespace the instruction is in.
/// AsmString - The format string used to emit a .s file for the
/// instruction.
OpenPOWER on IntegriCloud