Skip to content

Commit

Permalink
[cxxmodules] Reduce the amount of header duplications in the modules.
Browse files Browse the repository at this point in the history
This resolves a merging bug with libstdc++12. Fixes #10478
  • Loading branch information
vgvassilev committed Apr 30, 2022
1 parent 360fc02 commit 6c848d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions interpreter/cling/include/cling/std.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -419,13 +419,25 @@ module "std" [system] {
export *
header "bits/locale_facets.h"
}
module "bits/stl_algobase.h" {
export *
header "bits/stl_algobase.h"
}
module "bits/stl_map.h" {
export *
export bits_stl_tree_h
header "bits/stl_map.h"
}
module "bits/stl_pair.h" {
export *
header "bits/stl_pair.h"
}
explicit module "bits_stl_tree_h" {
export *
header "bits/stl_tree.h"
}
module "bits/utility.h" {
export *
header "bits/utility.h"
}
}

0 comments on commit 6c848d1

Please sign in to comment.