This patch fixes two bugs that arise when a 'defm' inherits from a multiclass and also from a class with assertions. I discovered them while adding assertions to the Clang TableGen files.
I'm not sure whether this warrants a Phabricator review, but it certainly can't hurt.
clang-format: please reformat the code
- : Name(O.Name), Locs(O.Locs), TemplateArgs(O.TemplateArgs), - Values(O.Values), Assertions(O.Assertions), SuperClasses(O.SuperClasses), - TrackedRecords(O.TrackedRecords), ID(LastID++), - IsAnonymous(O.IsAnonymous), IsClass(O.IsClass) { } + : Name(O.Name), Locs(O.Locs), TemplateArgs(O.TemplateArgs), + Values(O.Values), Assertions(O.Assertions), + SuperClasses(O.SuperClasses), TrackedRecords(O.TrackedRecords), + ID(LastID++), IsAnonymous(O.IsAnonymous), IsClass(O.IsClass) {}