aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-07-27 20:58:46 +0000
committerDouglas Gregor <dgregor@apple.com>2011-07-27 20:58:46 +0000
commita862320972e63349524dc9aa744dec1b95f54ba1 (patch)
treea106b64315d2b07c6c6e7078ecf6294cd58118d3 /lib/Lex/Lexer.cpp
parentd648d373d6c14dccadd3bef7b560f6a7296f949e (diff)
Introduce a new data structure, LazyVector, which is a vector whose
contents are lazily loaded on demand from an external source (e.g., an ExternalASTSource or ExternalSemaSource). The "loaded" entities are kept separate from the "local" entities, so that the two can grow independently. Switch Sema::TentativeDefinitions from a normal vector that is eagerly populated by the ASTReader into one of these LazyVectors, making the ASTReader a bit more like me (i.e., lazy). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Lexer.cpp')
0 files changed, 0 insertions, 0 deletions