Author: Vassil Vassilev
Date: 2025-07-19T14:31:19Z
New Revision: 50408eeff6020061ceb6685448e214f36c75f71b

URL: 
https://github.com/llvm/llvm-project/commit/50408eeff6020061ceb6685448e214f36c75f71b
DIFF: 
https://github.com/llvm/llvm-project/commit/50408eeff6020061ceb6685448e214f36c75f71b.diff

LOG: 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 193de1a566aa5a10a6f63f6f7c7fca2e52a7d75b.

Added: 
    

Modified: 
    clang/test/Interpreter/pretty-print.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Interpreter/pretty-print.cpp 
b/clang/test/Interpreter/pretty-print.cpp
index 1952cc7428e85..fd79d315e48ba 100644
--- a/clang/test/Interpreter/pretty-print.cpp
+++ b/clang/test/Interpreter/pretty-print.cpp
@@ -8,6 +8,9 @@ extern "C" int printf(const char*,...);
 "ab"
 // CHECK: (const char[3]) "ab"
 
+123456
+// CHECK-NEXT: (int) 123456
+
 char ch[2] = {'1','a'}; ch
 // CHECK-NEXT: (char[2]) { '1', 'a' }
 
@@ -28,15 +31,15 @@ S4{}
 // CHECK-NEXT: (S4) @0x{{[0-9a-f]+}}
 // TODO-CHECK-NEXT: ~S4()
 
-enum Enum : int { e1 = -12, e2, e3=33, e4, e5 = 33};
+enum Enum{ 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 : unsigned int { R = 0, G, B };
+enum class Color { R = 0, G, B };
 Color::R
-// CHECK-NEXT: (Color) (Color::R) : unsigned int 0
+// CHECK-NEXT: (Color) (Color::R) : int 0
 
 
 // Lambdas.


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to