fix a weird clang-format issue that snuck in, NFC.

This commit is contained in:
Chris Lattner 2020-11-22 19:37:07 -08:00
parent d8f7e5f1a2
commit db69d62b54
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ struct RTLOpAsmDialectInterface : public OpAsmDialectInterface {
// If an operation have an optional 'name' attribute, use it.
if (isa<WireOp>(op))
if (auto nameAttr = op->getAttrOfType<StringAttr>("name"))
setNameFn(op->getResult(0), nameAttr.getValue());
setNameFn(op->getResult(0), nameAttr.getValue());
}
/// Get a special name to use when printing the entry block arguments of the