[libc-commits] [libc] 753db4b - [libc] Fix hdrgen test test_small_proxy.h (#185890)

via libc-commits libc-commits at lists.llvm.org
Thu Mar 12 04:00:56 PDT 2026


Author: Victor Campos
Date: 2026-03-12T11:00:52Z
New Revision: 753db4b45712316b48882b1f257b7c47b4dfb20a

URL: https://github.com/llvm/llvm-project/commit/753db4b45712316b48882b1f257b7c47b4dfb20a
DIFF: https://github.com/llvm/llvm-project/commit/753db4b45712316b48882b1f257b7c47b4dfb20a.diff

LOG: [libc] Fix hdrgen test test_small_proxy.h (#185890)

The expected output was outdated as it did not contain the macro
definitions.

This patch fixes the issue.

Added: 
    

Modified: 
    libc/utils/hdrgen/tests/expected_output/test_small_proxy.h

Removed: 
    


################################################################################
diff  --git a/libc/utils/hdrgen/tests/expected_output/test_small_proxy.h b/libc/utils/hdrgen/tests/expected_output/test_small_proxy.h
index 4cb950f1f51c8..bf98581ef4763 100644
--- a/libc/utils/hdrgen/tests/expected_output/test_small_proxy.h
+++ b/libc/utils/hdrgen/tests/expected_output/test_small_proxy.h
@@ -18,6 +18,12 @@
 #include "llvm-libc-types/type_a.h"
 #include "llvm-libc-types/type_b.h"
 
+#define MACRO_A 1
+
+#define MACRO_B 2
+
+#define MACRO_C
+
 #else // Overlay mode
 
 #include <test_small.h>


        


More information about the libc-commits mailing list