File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 53
53
// CHECK-NEXT: "clang-module-deps": [
54
54
// CHECK-NEXT: {
55
55
// CHECK-NEXT: "context-hash": "{{.*}}",
56
- // CHECK-NEXT: "module-name": "E"
56
+ // CHECK-NEXT: "module-name": "E",
57
+ // CHECK-NEXT: "exported": "true"
57
58
// CHECK-NEXT: }
58
59
// CHECK-NEXT: ],
59
60
// CHECK-NEXT: "clang-modulemap-file": "[[PREFIX]]/modules/D/module.modulemap",
Original file line number Diff line number Diff line change @@ -436,8 +436,8 @@ clang_experimental_DepGraphModule_getModuleDeps(CXDepGraphModule CXDepMod) {
436
436
const ModuleDeps &ModDeps = *unwrap (CXDepMod)->ModDeps ;
437
437
std::vector<std::string> Modules;
438
438
Modules.reserve (ModDeps.ClangModuleDeps .size ());
439
- for (const ModuleID &MID : ModDeps.ClangModuleDeps )
440
- Modules.push_back (MID. ModuleName + " :" + MID .ContextHash );
439
+ for (const auto &Info : ModDeps.ClangModuleDeps )
440
+ Modules.push_back (Info. ID . ModuleName + " :" + Info. ID .ContextHash );
441
441
return unwrap (CXDepMod)->StrMgr .createCStringsOwned (std::move (Modules));
442
442
}
443
443
You can’t perform that action at this time.
0 commit comments