forked from OSchip/llvm-project
Apply clang-tidy fixes for llvm-qualified-auto in OpFormatGen.cpp (NFC)
This commit is contained in:
parent
0f304ef017
commit
cdbd9c9bab
|
@ -212,7 +212,7 @@ public:
|
|||
AttributeVariable *
|
||||
getUnitAttrParsingElement(ArrayRef<FormatElement *> pelement) {
|
||||
if (pelement.size() == 1) {
|
||||
auto attrElem = dyn_cast<AttributeVariable>(pelement[0]);
|
||||
auto *attrElem = dyn_cast<AttributeVariable>(pelement[0]);
|
||||
if (attrElem && attrElem->isUnitAttr())
|
||||
return attrElem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue