[libc-commits] [libc] [libc][hdrgen] Extend guard attribute support for types (PR #189803)

via libc-commits libc-commits at lists.llvm.org
Fri Apr 10 13:58:32 PDT 2026


================
@@ -248,6 +248,38 @@ def relpath(file):
             )
         ]
 
+        # Add guarded types
+        append_blank_line_if_guarded_types_exist = True
----------------
un-pixelated wrote:

I renamed it to `seen_guard` and switched the flags up so it reads smoothly

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


More information about the libc-commits mailing list