diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-08-24 21:27:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-08-24 21:27:34 +0000 |
commit | 851c75a279bb4441bc6802d0258ceb4ab64738d4 (patch) | |
tree | 5df49171adc9505b03a6497b7a00abc079352266 /lib/Serialization/ASTWriter.cpp | |
parent | bba43efdec3b2aa483b55d4287ba1c48c55935d4 (diff) |
Introduce a depth-first search of modules into the module manager,
which supports both pre-order and post-order traversal via a visitor
mechanism. Use this depth-first search with a post-order traversal to
give predictable ordering semantics when walking all of the lexical
declarations in the translation unit.
Eventually, module imports will occur in the source code rather than
at the beginning, and we'll have to revisit this walk.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions