forked from OSchip/llvm-project
[Dominators] Don't use default parameter in lambda
... to make GCC buildbots happy. llvm-svn: 314805
This commit is contained in:
parent
0d5c792223
commit
5f081b1c0b
|
@ -1400,7 +1400,7 @@ struct SemiNCAInfo {
|
|||
});
|
||||
|
||||
auto PrintChildrenError = [Node, &Children, PrintNodeAndDFSNums](
|
||||
const TreeNodePtr FirstCh, const TreeNodePtr SecondCh = nullptr) {
|
||||
const TreeNodePtr FirstCh, const TreeNodePtr SecondCh) {
|
||||
assert(FirstCh);
|
||||
|
||||
errs() << "Incorrect DFS numbers for:\n\tParent ";
|
||||
|
@ -1425,12 +1425,12 @@ struct SemiNCAInfo {
|
|||
};
|
||||
|
||||
if (Children.front()->getDFSNumIn() != Node->getDFSNumIn() + 1) {
|
||||
PrintChildrenError(Children.front());
|
||||
PrintChildrenError(Children.front(), nullptr);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (Children.back()->getDFSNumOut() + 1 != Node->getDFSNumOut()) {
|
||||
PrintChildrenError(Children.back());
|
||||
PrintChildrenError(Children.back(), nullptr);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue