diff options
author | Jakub Kuderski <kubakuderski@gmail.com> | 2017-10-03 14:51:31 +0000 |
---|---|---|
committer | Jakub Kuderski <kubakuderski@gmail.com> | 2017-10-03 14:51:31 +0000 |
commit | 5f081b1c0b2d02bddc36df03e806e4ff4e2359a8 (patch) | |
tree | 17e45b9d2063874159d80dc302c6a9bf95268aeb | |
parent | 0d5c792223592de1be70773683075d6dd30d5b63 (diff) | |
download | bcm5719-llvm-5f081b1c0b2d02bddc36df03e806e4ff4e2359a8.tar.gz bcm5719-llvm-5f081b1c0b2d02bddc36df03e806e4ff4e2359a8.zip |
[Dominators] Don't use default parameter in lambda
... to make GCC buildbots happy.
llvm-svn: 314805
-rw-r--r-- | llvm/include/llvm/Support/GenericDomTreeConstruction.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/GenericDomTreeConstruction.h b/llvm/include/llvm/Support/GenericDomTreeConstruction.h index 96ea74a5c50..34c1fe6800a 100644 --- a/llvm/include/llvm/Support/GenericDomTreeConstruction.h +++ b/llvm/include/llvm/Support/GenericDomTreeConstruction.h @@ -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; } |