summaryrefslogtreecommitdiff
path: root/libc/newhdrgen/class_implementation/classes/include.py
diff options
context:
space:
mode:
Diffstat (limited to 'libc/newhdrgen/class_implementation/classes/include.py')
-rw-r--r--libc/newhdrgen/class_implementation/classes/include.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/newhdrgen/class_implementation/classes/include.py b/libc/newhdrgen/class_implementation/classes/include.py
new file mode 100644
index 000000000000..2657f2e7c931
--- /dev/null
+++ b/libc/newhdrgen/class_implementation/classes/include.py
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+#
+# ====-- Include class for libc function headers --------------*- python -*--==#
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+#
+# ==-------------------------------------------------------------------------==#
+
+
+class Include:
+ def __init__(self, name):
+ self.name = name
+
+ def __str__(self):
+ return f'#include "{self.name}"'