Debian Codegraph @

libc/newhdrgen/class_implementation/classes/type.py

raw
1 #!/usr/bin/env python
2 #
3 # ====-- Type class for libc function headers -----------------*- python -*--==#
4 #
5 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
6 # See https://llvm.org/LICENSE.txt for license information.
7 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 #
9 # ==-------------------------------------------------------------------------==#
10
11
12 class Type:
13 def __init__(self, type_name):
14 self.type_name = type_name
15
16 def __str__(self):
17 return f"#include <llvm-libc-types/{self.type_name}.h>"