File tree 3 files changed +4
-4
lines changed
include/clang/Serialization
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2246,7 +2246,7 @@ class ASTReader
2246
2246
2247
2247
auto [Loc, ModuleFileIndex] = ReadUntranslatedSourceLocation (Raw, Seq);
2248
2248
ModuleFile *OwningModuleFile =
2249
- ModuleFileIndex == 0 ? &MF : MF.DependentModules [ModuleFileIndex - 1 ];
2249
+ ModuleFileIndex == 0 ? &MF : MF.TransitiveImports [ModuleFileIndex - 1 ];
2250
2250
2251
2251
assert (!SourceMgr.isLoadedSourceLocation (Loc) &&
2252
2252
" Run out source location space" );
Original file line number Diff line number Diff line change @@ -513,11 +513,11 @@ class ModuleFile {
513
513
514
514
// / List of modules which this modules dependent on. Different
515
515
// / from `Imports`, this includes indirectly imported modules too.
516
- // / The order of DependentModules is significant. It should keep
516
+ // / The order of TransitiveImports is significant. It should keep
517
517
// / the same order with that module file manager when we write
518
518
// / the current module file. The value of the member will be initialized
519
519
// / in `ASTReader::ReadModuleOffsetMap`.
520
- llvm::SmallVector<ModuleFile *, 16 > DependentModules ;
520
+ llvm::SmallVector<ModuleFile *, 16 > TransitiveImports ;
521
521
522
522
// / Determine whether this module was directly imported at
523
523
// / any point during translation.
Original file line number Diff line number Diff line change @@ -4059,7 +4059,7 @@ void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const {
4059
4059
RemapBuilder DeclRemap(F.DeclRemap);
4060
4060
RemapBuilder TypeRemap(F.TypeRemap);
4061
4061
4062
- auto &ImportedModuleVector = F.DependentModules ;
4062
+ auto &ImportedModuleVector = F.TransitiveImports ;
4063
4063
assert(ImportedModuleVector.empty());
4064
4064
4065
4065
while (Data < DataEnd) {
You can’t perform that action at this time.
0 commit comments