commit | 706da9d8ca207c93d38855ffd96cf9722996d706 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Nov 26 01:39:40 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Nov 26 01:39:40 2010 +0000 |
tree | 2815436548f89425b7599ae825d03d425809c18b | |
parent | 20a00c4f80b69494129d2533f55c7d7b2f657266 [diff] |
Move tree navigation to a new Path class that doesn't have to be a template. The path also holds a reference to the root node, and that allows important iterator accessors like start() and stop() to have no conditional code. (When the compiler is clever enough to remove it.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120165 91177308-0d34-0410-b5e6-96231b3b80d8