forked from OSchip/llvm-project
Add Name Init Record Constructor
Add a Record constructor that takes the Record name as an Init. This is more work toward paste functionality. llvm-svn: 142508
This commit is contained in:
parent
d3a45f0707
commit
38fe00828b
|
@ -1404,6 +1404,9 @@ public:
|
|||
ID(LastID++), Name(StringInit::get(N)), Loc(loc), TrackedRecords(records),
|
||||
TheInit(0) {
|
||||
}
|
||||
explicit Record(Init *N, SMLoc loc, RecordKeeper &records) :
|
||||
ID(LastID++), Name(N), Loc(loc), TrackedRecords(records), TheInit(0) {
|
||||
}
|
||||
~Record() {}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue