Skip to content

Commit 50408ee

Browse files
committed
Revert "[clang-repl] Spell out the enum types to appease some bots."
This did not help the bots. Add another check that might help me figure out the issue. This reverts commit 193de1a.
1 parent 167c695 commit 50408ee

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

clang/test/Interpreter/pretty-print.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ extern "C" int printf(const char*,...);
88
"ab"
99
// CHECK: (const char[3]) "ab"
1010

11+
123456
12+
// CHECK-NEXT: (int) 123456
13+
1114
char ch[2] = {'1','a'}; ch
1215
// CHECK-NEXT: (char[2]) { '1', 'a' }
1316

@@ -28,15 +31,15 @@ S4{}
2831
// CHECK-NEXT: (S4) @0x{{[0-9a-f]+}}
2932
// TODO-CHECK-NEXT: ~S4()
3033

31-
enum Enum : int { e1 = -12, e2, e3=33, e4, e5 = 33};
34+
enum Enum{ e1 = -12, e2, e3=33, e4, e5 = 33};
3235
e2
3336
// CHECK-NEXT: (Enum) (e2) : int -11
3437
::e1
3538
// CHECK-NEXT: (Enum) (e1) : int -12
3639

37-
enum class Color : unsigned int { R = 0, G, B };
40+
enum class Color { R = 0, G, B };
3841
Color::R
39-
// CHECK-NEXT: (Color) (Color::R) : unsigned int 0
42+
// CHECK-NEXT: (Color) (Color::R) : int 0
4043

4144

4245
// Lambdas.

0 commit comments

Comments
 (0)