Douglas Gregor | adb9799 | 2011-11-16 23:02:25 +0000 | [diff] [blame] | 1 | module diamond_top { header "diamond_top.h" } |
Douglas Gregor | 90db260 | 2011-12-02 01:47:07 +0000 | [diff] [blame] | 2 | module diamond_left { |
| 3 | header "diamond_left.h" |
| 4 | export diamond_top |
| 5 | } |
| 6 | module diamond_right { |
| 7 | header "diamond_right.h" |
| 8 | export diamond_top |
| 9 | } |
| 10 | module diamond_bottom { |
| 11 | header "diamond_bottom.h" |
Douglas Gregor | 0adaa88 | 2011-12-05 17:28:06 +0000 | [diff] [blame] | 12 | export * |
Douglas Gregor | 90db260 | 2011-12-02 01:47:07 +0000 | [diff] [blame] | 13 | } |
Douglas Gregor | adb9799 | 2011-11-16 23:02:25 +0000 | [diff] [blame] | 14 | module irgen { header "irgen.h" } |
| 15 | module lookup_left_objc { header "lookup_left.h" } |
| 16 | module lookup_right_objc { header "lookup_right.h" } |
| 17 | module lookup_left_cxx { header "lookup_left.hpp" } |
| 18 | module lookup_right_cxx { header "lookup_right.hpp" } |
| 19 | module module_private_left { header "module_private_left.h" } |
| 20 | module module_private_right { header "module_private_right.h" } |
Douglas Gregor | 6c6c54a | 2012-10-11 00:46:49 +0000 | [diff] [blame] | 21 | module macros_top { |
| 22 | header "macros_top.h" |
| 23 | } |
| 24 | module macros_left { |
| 25 | header "macros_left.h" |
| 26 | export * |
| 27 | } |
| 28 | module macros_right { |
| 29 | header "macros_right.h" |
| 30 | export * |
Douglas Gregor | 54c8a40 | 2012-10-12 00:16:50 +0000 | [diff] [blame] | 31 | explicit module undef { |
| 32 | header "macros_right_undef.h" |
| 33 | } |
Douglas Gregor | 6c6c54a | 2012-10-11 00:46:49 +0000 | [diff] [blame] | 34 | } |
Douglas Gregor | adb9799 | 2011-11-16 23:02:25 +0000 | [diff] [blame] | 35 | module macros { header "macros.h" } |
| 36 | module category_top { header "category_top.h" } |
Douglas Gregor | 10ce932 | 2011-12-02 20:08:44 +0000 | [diff] [blame] | 37 | module category_left { |
| 38 | header "category_left.h" |
| 39 | export category_top |
Douglas Gregor | d329724 | 2013-01-16 23:00:23 +0000 | [diff] [blame] | 40 | |
| 41 | explicit module sub { |
| 42 | header "category_left_sub.h" |
| 43 | } |
Douglas Gregor | 10ce932 | 2011-12-02 20:08:44 +0000 | [diff] [blame] | 44 | } |
| 45 | module category_right { |
| 46 | header "category_right.h" |
| 47 | export category_top |
Douglas Gregor | d329724 | 2013-01-16 23:00:23 +0000 | [diff] [blame] | 48 | |
| 49 | explicit module sub { |
| 50 | header "category_right_sub.h" |
| 51 | } |
Douglas Gregor | 10ce932 | 2011-12-02 20:08:44 +0000 | [diff] [blame] | 52 | } |
| 53 | module category_bottom { |
| 54 | header "category_bottom.h" |
| 55 | export category_left |
| 56 | export category_right |
| 57 | } |
Douglas Gregor | cff9f26 | 2012-01-27 01:47:08 +0000 | [diff] [blame] | 58 | module category_other { header "category_other.h" } |
Douglas Gregor | adb9799 | 2011-11-16 23:02:25 +0000 | [diff] [blame] | 59 | module redeclarations_left { header "redeclarations_left.h" } |
| 60 | module redeclarations_right { header "redeclarations_right.h" } |
Nick Lewycky | f33d549 | 2012-04-12 07:56:21 +0000 | [diff] [blame] | 61 | module redecl_namespaces_left { header "redecl_namespaces_left.h" } |
| 62 | module redecl_namespaces_right { header "redecl_namespaces_right.h" } |
Douglas Gregor | adb9799 | 2011-11-16 23:02:25 +0000 | [diff] [blame] | 63 | module load_failure { header "load_failure.h" } |
Douglas Gregor | 5536891 | 2011-12-14 16:03:29 +0000 | [diff] [blame] | 64 | |
| 65 | module decldef { |
| 66 | explicit module Decl { header "decl.h" } |
Douglas Gregor | 0af5501 | 2011-12-16 03:12:41 +0000 | [diff] [blame] | 67 | explicit module Decl2 { header "decl2.h" } |
Douglas Gregor | 5536891 | 2011-12-14 16:03:29 +0000 | [diff] [blame] | 68 | explicit module Def { header "def.h" } |
Douglas Gregor | a1be278 | 2011-12-17 23:38:30 +0000 | [diff] [blame] | 69 | } |
| 70 | |
| 71 | module redecl_merge_top { |
Douglas Gregor | 2ccd89c | 2011-12-20 18:11:52 +0000 | [diff] [blame] | 72 | header "redecl-merge-top.h" |
| 73 | explicit module Explicit { header "redecl-merge-top-explicit.h" } |
Douglas Gregor | 71f49f5 | 2012-11-15 19:47:16 +0000 | [diff] [blame] | 74 | exclude header "nonexistent.h" |
Douglas Gregor | a1be278 | 2011-12-17 23:38:30 +0000 | [diff] [blame] | 75 | } |
| 76 | module redecl_merge_left { |
| 77 | header "redecl-merge-left.h" |
| 78 | export * |
| 79 | } |
Douglas Gregor | cce54aa | 2011-12-22 19:44:59 +0000 | [diff] [blame] | 80 | module redecl_merge_left_left { |
| 81 | header "redecl-merge-left-left.h" |
| 82 | export * |
| 83 | } |
Douglas Gregor | a1be278 | 2011-12-17 23:38:30 +0000 | [diff] [blame] | 84 | module redecl_merge_right { |
| 85 | header "redecl-merge-right.h" |
| 86 | export * |
| 87 | } |
| 88 | module redecl_merge_bottom { |
| 89 | header "redecl-merge-bottom.h" |
| 90 | export * |
| 91 | } |
Douglas Gregor | f5c9f9f | 2012-01-07 09:11:48 +0000 | [diff] [blame] | 92 | module namespaces_top { |
| 93 | header "namespaces-top.h" |
| 94 | export * |
| 95 | } |
| 96 | module namespaces_left { |
| 97 | header "namespaces-left.h" |
| 98 | export * |
| 99 | } |
| 100 | module namespaces_right { |
| 101 | header "namespaces-right.h" |
| 102 | export * |
| 103 | } |
Axel Naumann | 39d26c3 | 2012-10-02 09:09:43 +0000 | [diff] [blame] | 104 | module templates_top { |
| 105 | header "templates-top.h" |
| 106 | export * |
| 107 | } |
| 108 | module templates_left { |
| 109 | header "templates-left.h" |
| 110 | export * |
| 111 | } |
| 112 | module templates_right { |
| 113 | header "templates-right.h" |
| 114 | export * |
| 115 | } |
Douglas Gregor | 0d266d6 | 2012-01-25 00:59:09 +0000 | [diff] [blame] | 116 | module MethodPoolA { |
| 117 | header "MethodPoolA.h" |
Douglas Gregor | f0e0004 | 2013-01-16 18:47:38 +0000 | [diff] [blame] | 118 | |
| 119 | explicit module Sub { |
| 120 | header "MethodPoolASub.h" |
| 121 | } |
Douglas Gregor | 0d266d6 | 2012-01-25 00:59:09 +0000 | [diff] [blame] | 122 | } |
| 123 | module MethodPoolB { |
| 124 | header "MethodPoolB.h" |
Douglas Gregor | f0e0004 | 2013-01-16 18:47:38 +0000 | [diff] [blame] | 125 | |
| 126 | explicit module Sub { |
| 127 | header "MethodPoolBSub.h" |
| 128 | } |
Douglas Gregor | 0d266d6 | 2012-01-25 00:59:09 +0000 | [diff] [blame] | 129 | } |
Douglas Gregor | d0792de | 2012-05-16 16:31:58 +0000 | [diff] [blame] | 130 | module import_decl { |
| 131 | header "import-decl.h" |
| 132 | } |
Douglas Gregor | 82e5237 | 2012-11-06 19:39:40 +0000 | [diff] [blame] | 133 | |
| 134 | framework module * { |
| 135 | exclude NotAModule |
| 136 | } |
Douglas Gregor | 7dc80e1 | 2013-01-09 00:47:56 +0000 | [diff] [blame] | 137 | |
| 138 | module linkage_merge_left { |
| 139 | explicit module sub { |
| 140 | header "linkage-merge-sub.h" |
| 141 | } |
| 142 | } |
Douglas Gregor | b6cbe51 | 2013-01-14 17:21:00 +0000 | [diff] [blame] | 143 | |
| 144 | module autolink { |
| 145 | header "autolink.h" |
| 146 | link "autolink" |
| 147 | |
| 148 | explicit module sub { |
| 149 | header "autolink-sub.h" |
| 150 | link "autolink_sub" |
| 151 | } |
| 152 | |
| 153 | explicit module sub2 { |
| 154 | header "autolink-sub2.h" |
| 155 | link framework "autolink_framework" |
| 156 | } |
| 157 | } |