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

Muhammad Bassiouni via libc-commits libc-commits at lists.llvm.org
Tue Apr 14 03:24:12 PDT 2026


================
@@ -338,3 +337,14 @@ def json_data(self):
             "standards": self.standards,
             "includes": sorted(str(file) for file in {COMMON_HEADER} | self.includes()),
         }
+
+    def __emit_guard(self, content, current_guard, new_guard):
----------------
bassiounix wrote:

Are you talking about the naming style?
IIRC this is how you make private methods in python (using double underscores).

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


More information about the libc-commits mailing list