File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/include/llvm/Support Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1400,7 +1400,7 @@ struct SemiNCAInfo {
1400
1400
});
1401
1401
1402
1402
auto PrintChildrenError = [Node, &Children, PrintNodeAndDFSNums](
1403
- const TreeNodePtr FirstCh, const TreeNodePtr SecondCh = nullptr ) {
1403
+ const TreeNodePtr FirstCh, const TreeNodePtr SecondCh) {
1404
1404
assert (FirstCh);
1405
1405
1406
1406
errs () << " Incorrect DFS numbers for:\n\t Parent " ;
@@ -1425,12 +1425,12 @@ struct SemiNCAInfo {
1425
1425
};
1426
1426
1427
1427
if (Children.front ()->getDFSNumIn () != Node->getDFSNumIn () + 1 ) {
1428
- PrintChildrenError (Children.front ());
1428
+ PrintChildrenError (Children.front (), nullptr );
1429
1429
return false ;
1430
1430
}
1431
1431
1432
1432
if (Children.back ()->getDFSNumOut () + 1 != Node->getDFSNumOut ()) {
1433
- PrintChildrenError (Children.back ());
1433
+ PrintChildrenError (Children.back (), nullptr );
1434
1434
return false ;
1435
1435
}
1436
1436
You can’t perform that action at this time.
0 commit comments