diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-10-19 00:38:02 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-10-19 00:38:02 +0000 |
commit | 745e6f168d0276c15fb72f3d90e3d93d60282b1b (patch) | |
tree | 8e6a7239b5902503f0e5b72568a222d98410d315 /include/clang/Serialization/Module.h | |
parent | ae8273a6a56250ec1f674fcaf309f1974229b78b (diff) |
Move the set of files to be validated in an AST file into the control
block, so the input files are validated early on, before we've
committed to loading the AST file. This (accidentally) fixed a but
wherein the main file used to generate the AST file would *not* be
validated by the existing validation logic.
At the moment, this leads to some duplication of filenames between the
source manager block and input-file blocks, as well as validation
logic. This will be handled via an upcoming patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Serialization/Module.h')
-rw-r--r-- | include/clang/Serialization/Module.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/clang/Serialization/Module.h b/include/clang/Serialization/Module.h index 30bed03b8a..a1a47d8b04 100644 --- a/include/clang/Serialization/Module.h +++ b/include/clang/Serialization/Module.h @@ -149,13 +149,6 @@ public: /// \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; - - /// \brief Offsets for all of the source location file entries in the - /// AST file. - const uint32_t *SLocFileOffsets; - /// \brief Remapping table for source locations in this module. ContinuousRangeMap<uint32_t, int, 2> SLocRemap; |