[libc-commits] [libc] [libc] Fix hdrgen test test_small_proxy.h (PR #185890)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Wed Mar 11 07:34:11 PDT 2026
https://github.com/vhscampos created https://github.com/llvm/llvm-project/pull/185890
The expected output was outdated as it did not contain the macro definitions.
This patch fixes the issue.
>From 5f87d1809cb49637e7b521027d82f580ac353d22 Mon Sep 17 00:00:00 2001
From: Victor Campos <victor.campos at arm.com>
Date: Wed, 11 Mar 2026 14:30:19 +0000
Subject: [PATCH] [libc] Fix hdrgen test test_small_proxy.h
The expected output was outdated as it did not contain the macro
definitions.
This patch fixes the issue.
---
libc/utils/hdrgen/tests/expected_output/test_small_proxy.h | 6 ++++++
1 file changed, 6 insertions(+)
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