llvm.org GIT mirror llvm / 2423211
[Dominators] Don't use default parameter in lambda ... to make GCC buildbots happy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314805 91177308-0d34-0410-b5e6-96231b3b80d8 Jakub Kuderski 2 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
13991399 });
14001400
14011401 auto PrintChildrenError = [Node, &Children, PrintNodeAndDFSNums](
1402 const TreeNodePtr FirstCh, const TreeNodePtr SecondCh = nullptr) {
1402 const TreeNodePtr FirstCh, const TreeNodePtr SecondCh) {
14031403 assert(FirstCh);
14041404
14051405 errs() << "Incorrect DFS numbers for:\n\tParent ";
14241424 };
14251425
14261426 if (Children.front()->getDFSNumIn() != Node->getDFSNumIn() + 1) {
1427 PrintChildrenError(Children.front());
1427 PrintChildrenError(Children.front(), nullptr);
14281428 return false;
14291429 }
14301430
14311431 if (Children.back()->getDFSNumOut() + 1 != Node->getDFSNumOut()) {
1432 PrintChildrenError(Children.back());
1432 PrintChildrenError(Children.back(), nullptr);
14331433 return false;
14341434 }
14351435