summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen/TGParser.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-06-01 06:56:16 +0000
committerCraig Topper <craig.topper@gmail.com>2017-06-01 06:56:16 +0000
commitf44122608535702f7e45c268921e7dc6a1898021 (patch)
tree978e0fab11a2beb425adaa453fcb1a0fee7eb9dd /llvm/lib/TableGen/TGParser.h
parentc05a1032e9f7cd1bfdd0b76a944ccc0a1018776d (diff)
downloadbcm5719-llvm-f44122608535702f7e45c268921e7dc6a1898021.tar.gz
bcm5719-llvm-f44122608535702f7e45c268921e7dc6a1898021.zip
[TableGen] Remove RecordVal constructor that takes a StringRef and Record::setName(StringRef). Leave just the versions that take an Init.
They weren't used often enough to justify having two different interfaces. Push the responsiblity of creating a StringInit up to the caller. llvm-svn: 304388
Diffstat (limited to 'llvm/lib/TableGen/TGParser.h')
-rw-r--r--llvm/lib/TableGen/TGParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/TGParser.h b/llvm/lib/TableGen/TGParser.h
index 76f7d8fe502..1b2966c9f6c 100644
--- a/llvm/lib/TableGen/TGParser.h
+++ b/llvm/lib/TableGen/TGParser.h
@@ -110,7 +110,7 @@ private: // Semantic analysis methods.
bool AddSubMultiClass(MultiClass *CurMC,
SubMultiClassReference &SubMultiClass);
- std::string GetNewAnonymousName();
+ Init *GetNewAnonymousName();
// IterRecord: Map an iterator name to a value.
struct IterRecord {
OpenPOWER on IntegriCloud