Skip to content

Commit c345627

Browse files
committed
feat: allow authoring module units
1 parent 9221682 commit c345627

File tree

84 files changed

+357
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+357
-217
lines changed

regression-tests/test-results/mixed-as-for-variant-20-types.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-bounds-check.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-bounds-safety-with-assert-2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-bounds-safety-with-assert.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-captures-in-expressions-and-postconditions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-fixed-type-aliases.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-float-literals.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-forwarding.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-function-expression-and-std-for-each.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-function-expression-and-std-ranges-for-each-with-capture.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-function-expression-and-std-ranges-for-each.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-function-expression-with-pointer-capture.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-function-expression-with-repeated-capture.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-hello.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-initialization-safety-3-contract-violation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-initialization-safety-3.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-inspect-templates.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-inspect-values-2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-inspect-values.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-inspect-with-typeof-of-template-arg-list.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-intro-for-with-counter-include-last.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-lifetime-safety-and-null-contracts.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-lifetime-safety-pointer-init-4.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-multiple-return-values.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-out-destruction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-parameter-passing-generic-out.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-parameter-passing-with-forward.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-parameter-passing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-postexpression-with-capture.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-postfix-expression-custom-formatting.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-string-interpolation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-test-parens.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

regression-tests/test-results/mixed-type-safety-1.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22

3-
//=== Cpp2 type declarations ====================================================
3+
#include "cpp2util.h"
44

55

6-
#include "cpp2util.h"
6+
//=== Cpp2 type declarations ====================================================
77

88

99

0 commit comments

Comments
 (0)