NoProblemsAssistant.modularize
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# RUN: modularize -module-map-path=Output/NoProblemsAssistant.txt -root-module=Root -prefix=%S/Input %s
# RUN: FileCheck --input-file=%T/NoProblemsAssistant.txt %s
SomeTypes.h
SomeDecls.h
SubModule1/Header1.h
SubModule1/Header2.h
SubModule2/Header3.h
SubModule2/Header4.h
SubModule2/Header5-dash.dot.h
SubModule2.h
# CHECK: // Output/NoProblemsAssistant.txt
# CHECK-NEXT: // Generated by: modularize -module-map-path=Output/NoProblemsAssistant.txt -root-module=Root -prefix={{.*}}{{[/\\]}}{{.*}} {{.*}}{{[/\\]}}NoProblemsAssistant.modularize
# CHECK: module Root {
# CHECK-NEXT: module SomeTypes {
# CHECK-NEXT: header "SomeTypes.h"
# CHECK-NEXT: export *
# CHECK-NEXT: }
# CHECK-NEXT: module SomeDecls {
# CHECK-NEXT: header "SomeDecls.h"
# CHECK-NEXT: export *
# CHECK-NEXT: }
# CHECK-NEXT: module SubModule1 {
# CHECK-NEXT: module Header1 {
# CHECK-NEXT: header "SubModule1/Header1.h"
# CHECK-NEXT: export *
# CHECK-NEXT: }
# CHECK-NEXT: module Header2 {
# CHECK-NEXT: header "SubModule1/Header2.h"
# CHECK-NEXT: export *
# CHECK-NEXT: }
# CHECK-NEXT: }
# CHECK-NEXT: module SubModule2 {
# CHECK-NEXT: module Header3 {
# CHECK-NEXT: header "SubModule2/Header3.h"
# CHECK-NEXT: export *
# CHECK-NEXT: }
# CHECK-NEXT: module Header4 {
# CHECK-NEXT: header "SubModule2/Header4.h"
# CHECK-NEXT: export *
# CHECK-NEXT: }
# CHECK-NEXT: module Header5_dash_dot {
# CHECK-NEXT: header "SubModule2/Header5-dash.dot.h"
# CHECK-NEXT: export *
# CHECK-NEXT: }
# CHECK-NEXT: header "SubModule2.h"
# CHECK-NEXT: export *
# CHECK-NEXT: }
# CHECK-NEXT: }