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

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Apr 7 13:21:09 PDT 2026


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

nit: this might be clearer as `has_seen_guard`

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


More information about the libc-commits mailing list