diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-08-25 21:09:44 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-08-25 21:09:44 +0000 |
commit | f249bf3b9f8bd3af711ffe9de411fc435871a4f6 (patch) | |
tree | fb4e412d8e7580eb5e0dc5a70c31c5d55fbd5fa4 /include/clang/Serialization/Module.h | |
parent | f09530f88ece49993f1b72271b0417574e897956 (diff) |
Preload source location entries as soon as we've loaded a particular
AST file, rather than waiting until we finish loading the top-level
AST file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/Module.h')
-rw-r--r-- | include/clang/Serialization/Module.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Serialization/Module.h b/include/clang/Serialization/Module.h index a6a7da4fbd..b3c3bc3271 100644 --- a/include/clang/Serialization/Module.h +++ b/include/clang/Serialization/Module.h @@ -111,6 +111,9 @@ public: /// AST file. const uint32_t *SLocEntryOffsets; + /// \brief SLocEntries that we're going to preload. + SmallVector<uint64_t, 4> PreloadSLocEntries; + /// \brief The number of source location file entries in this AST file. unsigned LocalNumSLocFileEntries; |