Call the common Record initializer code from constructors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142509
91177308-0d34-0410-b5e6-
96231b3b80d8
explicit Record(const std::string &N, SMLoc loc, RecordKeeper &records) :
ID(LastID++), Name(StringInit::get(N)), Loc(loc), TrackedRecords(records),
TheInit(0) {
+ init();
}
explicit Record(Init *N, SMLoc loc, RecordKeeper &records) :
ID(LastID++), Name(N), Loc(loc), TrackedRecords(records), TheInit(0) {
+ init();
}
~Record() {}