Skip to content

Commit db9118f

Browse files
committed
fixup!: remove notes to self unrelated to PR
Oops, those were just things I was curious about, not meant to be left in.
1 parent 2fd5fc4 commit db9118f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

clang/test/SemaCXX/static-assert-diagnostics.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ struct _arr {
2020
}
2121
};
2222

23-
// TODO[seth] syntactically sort of valid but almost entirely unusuable
24-
// (it's an int *, not an int [3] )
25-
// constexpr int _[3] = {...}; would work, but that's not piecewise substitutable
26-
// maybe it's ok? I mean, not like we can do better really...
27-
constexpr auto _ = (int[3]){2, 3, 4};
28-
2923
// output: '{{2, 3, 4}} == {0, 3, 4}' (the `{{` breaks VerifyDiagnosticConsumer::ParseDirective)
3024
// expected-note@+1 {{evaluates to}}
3125
static_assert(_arr{2, 3, 4} == a0.b); // expected-error {{failed}}
@@ -87,7 +81,6 @@ struct V {
8781
};
8882

8983
};
90-
// todo[seth] do I cause infinite evaluator recursion if I move this up into the function above?
9184
static_assert(V{1, 2, 3, 4} == V{1, 2, 3, 4});
9285

9386
// '{{1, 2, 3, 4}} == {{1, 2, 0, 4}}'

0 commit comments

Comments
 (0)