diff options
author | Tim Shen <timshen91@gmail.com> | 2016-08-11 22:36:16 +0000 |
---|---|---|
committer | Tim Shen <timshen91@gmail.com> | 2016-08-11 22:36:16 +0000 |
commit | 6aaeb9b1859010589c8522765c46204729d85d60 (patch) | |
tree | 14c87ad21e753398af8ca2a6ad90fec9c025690b /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
parent | cbb5e02f4ae8455e65fae10b0e995489b43411e2 (diff) | |
download | bcm5719-llvm-6aaeb9b1859010589c8522765c46204729d85d60.tar.gz bcm5719-llvm-6aaeb9b1859010589c8522765c46204729d85d60.zip |
[ADT] Migrate DepthFirstIterator to use NodeRef
Summary:
Notice that the data layout is changed: instead of using
std::pair<PointerIntPair<NodeType*, 1>, ChildItTy>, now use
std::pair<NodeRef, Optional<ChildItTy>>.
A NFC but worth noticing change is operator==(), since we only compare
an iterator against end(), it's better to put an assert there and make
people noticed when it fails.
Reviewers: dblaikie, chandlerc
Subscribers: mzolotukhin, llvm-commits
Differential Revision: https://reviews.llvm.org/D23146
llvm-svn: 278437
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions