Skip to content

Commit 1cef577

Browse files
committed
Apply clang-tidy fixes for llvm-qualified-auto in PredicateTree.cpp (NFC)
1 parent 345d574 commit 1cef577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ static void foldSwitchToBool(std::unique_ptr<MatcherNode> &node) {
856856
// If the node only contains one child, collapse it into a boolean predicate
857857
// node.
858858
if (children.size() == 1) {
859-
auto childIt = children.begin();
859+
auto *childIt = children.begin();
860860
node = std::make_unique<BoolNode>(
861861
node->getPosition(), node->getQuestion(), childIt->first,
862862
std::move(childIt->second), std::move(node->getFailureNode()));

0 commit comments

Comments
 (0)