summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ADT/TestGraph.h
Commit message (Collapse)AuthorAgeFilesLines
* s/static inline/static/ for headers I have changed in r279475. NFC.Tim Shen2016-08-311-5/+3
| | | | llvm-svn: 280257
* [ADT] Actually mutate the iterator VisitStack.back().second, not its copy.Tim Shen2016-08-221-0/+253
Summary: Before the change, *Opt never actually gets updated by the end of toNext(), so for every next time the loop has to start over from child_begin(). This bug doesn't affect the correctness, since Visited prevents it from re-entering the same node again; but it's slow. Reviewers: dberris, dblaikie, dannyb Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D23649 llvm-svn: 279482
OpenPOWER on IntegriCloud