[clang] Upstream enum support (PR #136807)

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 23 10:53:43 PDT 2025


================
@@ -253,3 +253,8 @@ size_type max_size(void) {
 
 // OGCG: define{{.*}} i64 @max_size()
 // OGCG:   ret i64 2305843009213693951
+
+enum {
+  um = 0,
+  dois = 1,
+};
----------------
bcardosolopes wrote:

You should add equivalent filecheck CHECK like lines here and in the other test.

https://github.com/llvm/llvm-project/pull/136807


More information about the cfe-commits mailing list