diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-15 18:02:56 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-15 18:02:56 +0000 |
commit | e24692b30adbe8144597678a0e3354912e99c747 (patch) | |
tree | c2c6feb9d898a6acaa32f25fdba2e6547636a6ff /lib/Frontend/CompilerInstance.cpp | |
parent | 69f5d14bae44f05b22fa50bb87122a61081fcd57 (diff) |
[PCH] Overhaul how preprocessed entities are [de]serialized.
-Use an array of offsets for all preprocessed entities
-Get rid of the separate array of offsets for just macro definitions;
for references to macro definitions use an index inside the preprocessed
entities array.
-Deserialize each preprocessed entity lazily, at first request; not in bulk.
Paves the way for binary searching of preprocessed entities that will offer
efficiency and will simplify things on the libclang side a lot.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139809 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions