[clang-repl] Spell out the enum types to appease some bots.

This change is a follow-up of llvm/llvm-project#148701 where clang-s390x-linux
and clang-s390x-linux-lnt failed.
This commit is contained in:
Vassil Vassilev
2025-07-19 11:28:26 +00:00
parent b5348e7622
commit 193de1a566

View File

@@ -28,15 +28,15 @@ S4{}
// CHECK-NEXT: (S4) @0x{{[0-9a-f]+}}
// TODO-CHECK-NEXT: ~S4()
enum Enum{ e1 = -12, e2, e3=33, e4, e5 = 33};
enum Enum : int { e1 = -12, e2, e3=33, e4, e5 = 33};
e2
// CHECK-NEXT: (Enum) (e2) : int -11
::e1
// CHECK-NEXT: (Enum) (e1) : int -12
enum class Color { R = 0, G, B };
enum class Color : unsigned int { R = 0, G, B };
Color::R
// CHECK-NEXT: (Color) (Color::R) : int 0
// CHECK-NEXT: (Color) (Color::R) : unsigned int 0
// Lambdas.