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