1*0a6a1f1dSLionel Sambucmodule c_library [extern_c] { module inner { header "c-header.h" } } 2*0a6a1f1dSLionel Sambucmodule cxx_library { header "cxx-header.h" requires cplusplus } 3*0a6a1f1dSLionel Sambucmodule c_library_bad [extern_c] { header "c-header-bad.h" } 4*0a6a1f1dSLionel Sambucmodule diamond_top { header "diamond_top.h" } 5*0a6a1f1dSLionel Sambucmodule diamond_left { 6*0a6a1f1dSLionel Sambuc header "diamond_left.h" 7*0a6a1f1dSLionel Sambuc export diamond_top 8*0a6a1f1dSLionel Sambuc} 9*0a6a1f1dSLionel Sambucmodule diamond_right { 10*0a6a1f1dSLionel Sambuc header "diamond_right.h" 11*0a6a1f1dSLionel Sambuc export diamond_top 12*0a6a1f1dSLionel Sambuc} 13*0a6a1f1dSLionel Sambucmodule diamond_bottom { 14*0a6a1f1dSLionel Sambuc header "diamond_bottom.h" 15*0a6a1f1dSLionel Sambuc export * 16*0a6a1f1dSLionel Sambuc} 17*0a6a1f1dSLionel Sambucmodule irgen { header "irgen.h" } 18*0a6a1f1dSLionel Sambucmodule cxx_irgen_top { header "cxx-irgen-top.h" } 19*0a6a1f1dSLionel Sambucmodule cxx_irgen_left { header "cxx-irgen-left.h" } 20*0a6a1f1dSLionel Sambucmodule cxx_irgen_right { header "cxx-irgen-right.h" } 21*0a6a1f1dSLionel Sambucmodule lookup_left_objc { header "lookup_left.h" } 22*0a6a1f1dSLionel Sambucmodule lookup_right_objc { header "lookup_right.h" } 23*0a6a1f1dSLionel Sambucmodule lookup_left_cxx { header "lookup_left.hpp" } 24*0a6a1f1dSLionel Sambucmodule lookup_right_cxx { header "lookup_right.hpp" } 25*0a6a1f1dSLionel Sambucmodule module_private_left { header "module_private_left.h" } 26*0a6a1f1dSLionel Sambucmodule module_private_right { header "module_private_right.h" } 27*0a6a1f1dSLionel Sambucmodule macros_top { 28*0a6a1f1dSLionel Sambuc header "macros_top.h" 29*0a6a1f1dSLionel Sambuc explicit module b { header "macros_top_b.h" } 30*0a6a1f1dSLionel Sambuc explicit module c { header "macros_top_c.h" } 31*0a6a1f1dSLionel Sambuc} 32*0a6a1f1dSLionel Sambucmodule macros_left { 33*0a6a1f1dSLionel Sambuc header "macros_left.h" 34*0a6a1f1dSLionel Sambuc export * 35*0a6a1f1dSLionel Sambuc} 36*0a6a1f1dSLionel Sambucmodule macros_right { 37*0a6a1f1dSLionel Sambuc header "macros_right.h" 38*0a6a1f1dSLionel Sambuc export * 39*0a6a1f1dSLionel Sambuc explicit module undef { 40*0a6a1f1dSLionel Sambuc header "macros_right_undef.h" 41*0a6a1f1dSLionel Sambuc } 42*0a6a1f1dSLionel Sambuc} 43*0a6a1f1dSLionel Sambucmodule macros { header "macros.h" } 44*0a6a1f1dSLionel Sambucmodule macros_other { header "macros_other.h" } 45*0a6a1f1dSLionel Sambucmodule category_top { header "category_top.h" } 46*0a6a1f1dSLionel Sambucmodule category_left { 47*0a6a1f1dSLionel Sambuc header "category_left.h" 48*0a6a1f1dSLionel Sambuc export category_top 49*0a6a1f1dSLionel Sambuc 50*0a6a1f1dSLionel Sambuc explicit module sub { 51*0a6a1f1dSLionel Sambuc header "category_left_sub.h" 52*0a6a1f1dSLionel Sambuc } 53*0a6a1f1dSLionel Sambuc} 54*0a6a1f1dSLionel Sambucmodule category_right { 55*0a6a1f1dSLionel Sambuc header "category_right.h" 56*0a6a1f1dSLionel Sambuc export category_top 57*0a6a1f1dSLionel Sambuc 58*0a6a1f1dSLionel Sambuc explicit module sub { 59*0a6a1f1dSLionel Sambuc header "category_right_sub.h" 60*0a6a1f1dSLionel Sambuc } 61*0a6a1f1dSLionel Sambuc} 62*0a6a1f1dSLionel Sambucmodule category_bottom { 63*0a6a1f1dSLionel Sambuc header "category_bottom.h" 64*0a6a1f1dSLionel Sambuc export category_left 65*0a6a1f1dSLionel Sambuc export category_right 66*0a6a1f1dSLionel Sambuc} 67*0a6a1f1dSLionel Sambucmodule category_other { header "category_other.h" } 68*0a6a1f1dSLionel Sambucmodule redeclarations_left { header "redeclarations_left.h" } 69*0a6a1f1dSLionel Sambucmodule redeclarations_right { header "redeclarations_right.h" } 70*0a6a1f1dSLionel Sambucmodule redecl_namespaces_left { header "redecl_namespaces_left.h" } 71*0a6a1f1dSLionel Sambucmodule redecl_namespaces_right { header "redecl_namespaces_right.h" } 72*0a6a1f1dSLionel Sambucmodule redecl_add_after_load_top { header "redecl-add-after-load-top.h" } 73*0a6a1f1dSLionel Sambucmodule redecl_add_after_load { header "redecl-add-after-load.h" } 74*0a6a1f1dSLionel Sambucmodule load_failure { header "load_failure.h" } 75*0a6a1f1dSLionel Sambuc 76*0a6a1f1dSLionel Sambucmodule decldef { 77*0a6a1f1dSLionel Sambuc explicit module Decl { header "decl.h" } 78*0a6a1f1dSLionel Sambuc explicit module Decl2 { header "decl2.h" } 79*0a6a1f1dSLionel Sambuc explicit module Def { header "def.h" } 80*0a6a1f1dSLionel Sambuc} 81*0a6a1f1dSLionel Sambuc 82*0a6a1f1dSLionel Sambucmodule redecl_merge_top { 83*0a6a1f1dSLionel Sambuc header "redecl-merge-top.h" 84*0a6a1f1dSLionel Sambuc explicit module Explicit { header "redecl-merge-top-explicit.h" } 85*0a6a1f1dSLionel Sambuc exclude header "nonexistent.h" 86*0a6a1f1dSLionel Sambuc} 87*0a6a1f1dSLionel Sambucmodule redecl_merge_left { 88*0a6a1f1dSLionel Sambuc header "redecl-merge-left.h" 89*0a6a1f1dSLionel Sambuc export * 90*0a6a1f1dSLionel Sambuc} 91*0a6a1f1dSLionel Sambucmodule redecl_merge_left_left { 92*0a6a1f1dSLionel Sambuc header "redecl-merge-left-left.h" 93*0a6a1f1dSLionel Sambuc export * 94*0a6a1f1dSLionel Sambuc} 95*0a6a1f1dSLionel Sambucmodule redecl_merge_right { 96*0a6a1f1dSLionel Sambuc header "redecl-merge-right.h" 97*0a6a1f1dSLionel Sambuc export * 98*0a6a1f1dSLionel Sambuc} 99*0a6a1f1dSLionel Sambucmodule redecl_merge_bottom { 100*0a6a1f1dSLionel Sambuc explicit module prefix { 101*0a6a1f1dSLionel Sambuc header "redecl-merge-bottom-prefix.h" 102*0a6a1f1dSLionel Sambuc } 103*0a6a1f1dSLionel Sambuc 104*0a6a1f1dSLionel Sambuc header "redecl-merge-bottom.h" 105*0a6a1f1dSLionel Sambuc export * 106*0a6a1f1dSLionel Sambuc} 107*0a6a1f1dSLionel Sambucmodule namespaces_top { 108*0a6a1f1dSLionel Sambuc header "namespaces-top.h" 109*0a6a1f1dSLionel Sambuc export * 110*0a6a1f1dSLionel Sambuc} 111*0a6a1f1dSLionel Sambucmodule namespaces_left { 112*0a6a1f1dSLionel Sambuc header "namespaces-left.h" 113*0a6a1f1dSLionel Sambuc export * 114*0a6a1f1dSLionel Sambuc} 115*0a6a1f1dSLionel Sambucmodule namespaces_right { 116*0a6a1f1dSLionel Sambuc header "namespaces-right.h" 117*0a6a1f1dSLionel Sambuc export * 118*0a6a1f1dSLionel Sambuc} 119*0a6a1f1dSLionel Sambucmodule templates_top { 120*0a6a1f1dSLionel Sambuc header "templates-top.h" 121*0a6a1f1dSLionel Sambuc export * 122*0a6a1f1dSLionel Sambuc} 123*0a6a1f1dSLionel Sambucmodule templates_left { 124*0a6a1f1dSLionel Sambuc header "templates-left.h" 125*0a6a1f1dSLionel Sambuc export * 126*0a6a1f1dSLionel Sambuc} 127*0a6a1f1dSLionel Sambucmodule templates_right { 128*0a6a1f1dSLionel Sambuc header "templates-right.h" 129*0a6a1f1dSLionel Sambuc export * 130*0a6a1f1dSLionel Sambuc} 131*0a6a1f1dSLionel Sambucmodule MethodPoolA { 132*0a6a1f1dSLionel Sambuc header "MethodPoolA.h" 133*0a6a1f1dSLionel Sambuc 134*0a6a1f1dSLionel Sambuc explicit module Sub2 { 135*0a6a1f1dSLionel Sambuc header "MethodPoolASub2.h" 136*0a6a1f1dSLionel Sambuc } 137*0a6a1f1dSLionel Sambuc 138*0a6a1f1dSLionel Sambuc explicit module Sub { 139*0a6a1f1dSLionel Sambuc header "MethodPoolASub.h" 140*0a6a1f1dSLionel Sambuc } 141*0a6a1f1dSLionel Sambuc} 142*0a6a1f1dSLionel Sambucmodule MethodPoolB { 143*0a6a1f1dSLionel Sambuc header "MethodPoolB.h" 144*0a6a1f1dSLionel Sambuc 145*0a6a1f1dSLionel Sambuc explicit module Sub2 { 146*0a6a1f1dSLionel Sambuc header "MethodPoolBSub2.h" 147*0a6a1f1dSLionel Sambuc } 148*0a6a1f1dSLionel Sambuc 149*0a6a1f1dSLionel Sambuc explicit module Sub { 150*0a6a1f1dSLionel Sambuc header "MethodPoolBSub.h" 151*0a6a1f1dSLionel Sambuc } 152*0a6a1f1dSLionel Sambuc} 153*0a6a1f1dSLionel Sambucmodule import_decl { 154*0a6a1f1dSLionel Sambuc header "import-decl.h" 155*0a6a1f1dSLionel Sambuc} 156*0a6a1f1dSLionel Sambuc 157*0a6a1f1dSLionel Sambucframework module * { 158*0a6a1f1dSLionel Sambuc exclude NotAModule 159*0a6a1f1dSLionel Sambuc} 160*0a6a1f1dSLionel Sambuc 161*0a6a1f1dSLionel Sambucmodule linkage_merge_left { 162*0a6a1f1dSLionel Sambuc explicit module sub { 163*0a6a1f1dSLionel Sambuc header "linkage-merge-sub.h" 164*0a6a1f1dSLionel Sambuc } 165*0a6a1f1dSLionel Sambuc} 166*0a6a1f1dSLionel Sambuc 167*0a6a1f1dSLionel Sambucmodule autolink { 168*0a6a1f1dSLionel Sambuc header "autolink.h" 169*0a6a1f1dSLionel Sambuc link "autolink" 170*0a6a1f1dSLionel Sambuc 171*0a6a1f1dSLionel Sambuc explicit module sub { 172*0a6a1f1dSLionel Sambuc header "autolink-sub.h" 173*0a6a1f1dSLionel Sambuc link "autolink_sub" 174*0a6a1f1dSLionel Sambuc } 175*0a6a1f1dSLionel Sambuc 176*0a6a1f1dSLionel Sambuc explicit module sub2 { 177*0a6a1f1dSLionel Sambuc header "autolink-sub2.h" 178*0a6a1f1dSLionel Sambuc link framework "autolink_framework" 179*0a6a1f1dSLionel Sambuc } 180*0a6a1f1dSLionel Sambuc 181*0a6a1f1dSLionel Sambuc explicit module sub3 { 182*0a6a1f1dSLionel Sambuc header "autolink-sub3.h" 183*0a6a1f1dSLionel Sambuc link "autolink_from_pch" 184*0a6a1f1dSLionel Sambuc } 185*0a6a1f1dSLionel Sambuc} 186*0a6a1f1dSLionel Sambuc 187*0a6a1f1dSLionel Sambucmodule weird_objc { 188*0a6a1f1dSLionel Sambuc header "weird_objc.h" 189*0a6a1f1dSLionel Sambuc} 190*0a6a1f1dSLionel Sambuc 191*0a6a1f1dSLionel Sambucmodule ignored_macros { 192*0a6a1f1dSLionel Sambuc header "ignored_macros.h" 193*0a6a1f1dSLionel Sambuc} 194*0a6a1f1dSLionel Sambuc 195*0a6a1f1dSLionel Sambucmodule cxx_many_overloads { 196*0a6a1f1dSLionel Sambuc header "cxx-many-overloads.h" 197*0a6a1f1dSLionel Sambuc} 198*0a6a1f1dSLionel Sambuc 199*0a6a1f1dSLionel Sambucmodule cxx_inline_namespace { 200*0a6a1f1dSLionel Sambuc header "cxx-inline-namespace.h" 201*0a6a1f1dSLionel Sambuc} 202*0a6a1f1dSLionel Sambuc 203*0a6a1f1dSLionel Sambucmodule cxx_inline_namespace_b { 204*0a6a1f1dSLionel Sambuc header "cxx-inline-namespace-b.h" 205*0a6a1f1dSLionel Sambuc} 206*0a6a1f1dSLionel Sambuc 207*0a6a1f1dSLionel Sambucmodule cxx_linkage_cache { 208*0a6a1f1dSLionel Sambuc header "cxx-linkage-cache.h" 209*0a6a1f1dSLionel Sambuc} 210*0a6a1f1dSLionel Sambuc 211*0a6a1f1dSLionel Sambucmodule cxx_templates_common { 212*0a6a1f1dSLionel Sambuc header "cxx-templates-common.h" 213*0a6a1f1dSLionel Sambuc} 214*0a6a1f1dSLionel Sambuc 215*0a6a1f1dSLionel Sambucmodule cxx_templates_a { 216*0a6a1f1dSLionel Sambuc header "cxx-templates-a.h" 217*0a6a1f1dSLionel Sambuc} 218*0a6a1f1dSLionel Sambuc 219*0a6a1f1dSLionel Sambucmodule cxx_templates_b_impl { 220*0a6a1f1dSLionel Sambuc header "cxx-templates-b-impl.h" 221*0a6a1f1dSLionel Sambuc} 222*0a6a1f1dSLionel Sambuc 223*0a6a1f1dSLionel Sambucmodule cxx_templates_b { 224*0a6a1f1dSLionel Sambuc header "cxx-templates-b.h" 225*0a6a1f1dSLionel Sambuc} 226*0a6a1f1dSLionel Sambuc 227*0a6a1f1dSLionel Sambucmodule cxx_templates_c { 228*0a6a1f1dSLionel Sambuc header "cxx-templates-c.h" 229*0a6a1f1dSLionel Sambuc} 230*0a6a1f1dSLionel Sambuc 231*0a6a1f1dSLionel Sambucmodule cxx_decls { 232*0a6a1f1dSLionel Sambuc module unimported { 233*0a6a1f1dSLionel Sambuc header "cxx-decls-unimported.h" 234*0a6a1f1dSLionel Sambuc } 235*0a6a1f1dSLionel Sambuc module imported { 236*0a6a1f1dSLionel Sambuc header "cxx-decls-imported.h" 237*0a6a1f1dSLionel Sambuc } 238*0a6a1f1dSLionel Sambuc} 239*0a6a1f1dSLionel Sambuc 240*0a6a1f1dSLionel Sambucmodule config { 241*0a6a1f1dSLionel Sambuc header "config.h" 242*0a6a1f1dSLionel Sambuc config_macros [exhaustive] WANT_FOO, WANT_BAR 243*0a6a1f1dSLionel Sambuc} 244*0a6a1f1dSLionel Sambuc 245*0a6a1f1dSLionel Sambucmodule diag_pragma { 246*0a6a1f1dSLionel Sambuc header "diag_pragma.h" 247*0a6a1f1dSLionel Sambuc} 248*0a6a1f1dSLionel Sambuc 249*0a6a1f1dSLionel Sambucmodule dummy { 250*0a6a1f1dSLionel Sambuc header "dummy.h" 251*0a6a1f1dSLionel Sambuc} 252*0a6a1f1dSLionel Sambuc 253*0a6a1f1dSLionel Sambucmodule builtin { 254*0a6a1f1dSLionel Sambuc header "builtin.h" 255*0a6a1f1dSLionel Sambuc explicit module sub { 256*0a6a1f1dSLionel Sambuc header "builtin_sub.h" 257*0a6a1f1dSLionel Sambuc } 258*0a6a1f1dSLionel Sambuc} 259*0a6a1f1dSLionel Sambuc 260*0a6a1f1dSLionel Sambucmodule linkage_merge { 261*0a6a1f1dSLionel Sambuc explicit module foo { 262*0a6a1f1dSLionel Sambuc header "linkage-merge-foo.h" 263*0a6a1f1dSLionel Sambuc } 264*0a6a1f1dSLionel Sambuc explicit module bar { 265*0a6a1f1dSLionel Sambuc header "linkage-merge-bar.h" 266*0a6a1f1dSLionel Sambuc } 267*0a6a1f1dSLionel Sambuc 268*0a6a1f1dSLionel Sambuc} 269*0a6a1f1dSLionel Sambuc 270*0a6a1f1dSLionel Sambucmodule incomplete_mod { 271*0a6a1f1dSLionel Sambuc header "incomplete_mod.h" 272*0a6a1f1dSLionel Sambuc} 273*0a6a1f1dSLionel Sambuc 274*0a6a1f1dSLionel Sambucmodule warning { 275*0a6a1f1dSLionel Sambuc header "warning.h" 276*0a6a1f1dSLionel Sambuc} 277*0a6a1f1dSLionel Sambuc 278*0a6a1f1dSLionel Sambucmodule initializer_list { 279*0a6a1f1dSLionel Sambuc header "initializer_list" 280*0a6a1f1dSLionel Sambuc} 281*0a6a1f1dSLionel Sambuc 282*0a6a1f1dSLionel Sambucmodule using_decl { 283*0a6a1f1dSLionel Sambuc module a { header "using-decl-a.h" export * } 284*0a6a1f1dSLionel Sambuc module b { header "using-decl-b.h" export * } 285*0a6a1f1dSLionel Sambuc} 286*0a6a1f1dSLionel Sambuc 287*0a6a1f1dSLionel Sambucmodule recursive_visibility_a1 { 288*0a6a1f1dSLionel Sambuc module inner { header "recursive_visibility_a1_inner.h" } 289*0a6a1f1dSLionel Sambuc} 290*0a6a1f1dSLionel Sambucmodule recursive_visibility_a2 { 291*0a6a1f1dSLionel Sambuc module inner { 292*0a6a1f1dSLionel Sambuc module more_inner { 293*0a6a1f1dSLionel Sambuc header "recursive_visibility_a2_more_inner.h" 294*0a6a1f1dSLionel Sambuc } 295*0a6a1f1dSLionel Sambuc } 296*0a6a1f1dSLionel Sambuc} 297*0a6a1f1dSLionel Sambucmodule recursive_visibility_b { 298*0a6a1f1dSLionel Sambuc header "recursive_visibility_b.h" 299*0a6a1f1dSLionel Sambuc export * 300*0a6a1f1dSLionel Sambuc} 301*0a6a1f1dSLionel Sambucmodule recursive_visibility_c { 302*0a6a1f1dSLionel Sambuc header "recursive_visibility_c.h" 303*0a6a1f1dSLionel Sambuc} 304*0a6a1f1dSLionel Sambucmodule recursive1 { 305*0a6a1f1dSLionel Sambuc header "recursive1.h" 306*0a6a1f1dSLionel Sambuc} 307*0a6a1f1dSLionel Sambucmodule recursive2 { 308*0a6a1f1dSLionel Sambuc header "recursive2.h" 309*0a6a1f1dSLionel Sambuc} 310