Revert "Fix warning: "unused variable 'attrClass'" (NFC)"

This reverts commit 724e6861b3.
This broke the build.
This commit is contained in:
Mehdi Amini 2021-12-23 03:59:25 +00:00
parent 724e6861b3
commit 94a47dfde2
1 changed files with 1 additions and 0 deletions

View File

@ -1144,6 +1144,7 @@ static bool emitSerializationFns(const RecordKeeper &recordKeeper,
utilsString; utilsString;
raw_string_ostream dSerFn(dSerFnString), dDesFn(dDesFnString), raw_string_ostream dSerFn(dSerFnString), dDesFn(dDesFnString),
serFn(serFnString), deserFn(deserFnString); serFn(serFnString), deserFn(deserFnString);
Record *attrClass = recordKeeper.getClass("Attr");
// Emit the serialization and deserialization functions simultaneously. // Emit the serialization and deserialization functions simultaneously.
StringRef opVar("op"); StringRef opVar("op");